mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-06-03 13:15:00 -06:00
ci: Update github actions (#1836)
This commit is contained in:
parent
0ff7d6ef0c
commit
6312fb936c
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
@ -31,7 +31,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout repo"
|
- name: "Checkout repo"
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
submodules: "recursive"
|
submodules: "recursive"
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
@ -83,7 +83,7 @@ jobs:
|
|||||||
run: mv bin/Cemu_release bin/Cemu
|
run: mv bin/Cemu_release bin/Cemu
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: cemu-bin-linux-${{ matrix.arch }}
|
name: cemu-bin-linux-${{ matrix.arch }}
|
||||||
path: ./bin/Cemu
|
path: ./bin/Cemu
|
||||||
@ -103,9 +103,9 @@ jobs:
|
|||||||
needs: build-ubuntu
|
needs: build-ubuntu
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Upstream Repo
|
- name: Checkout Upstream Repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
name: cemu-bin-linux-${{ matrix.arch }}
|
name: cemu-bin-linux-${{ matrix.arch }}
|
||||||
path: bin
|
path: bin
|
||||||
@ -122,7 +122,7 @@ jobs:
|
|||||||
dist/linux/appimage.sh ${{ runner.arch }}
|
dist/linux/appimage.sh ${{ runner.arch }}
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: cemu-appimage-${{ matrix.arch }}
|
name: cemu-appimage-${{ matrix.arch }}
|
||||||
path: artifacts
|
path: artifacts
|
||||||
@ -131,7 +131,7 @@ jobs:
|
|||||||
runs-on: windows-2022
|
runs-on: windows-2022
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout repo"
|
- name: "Checkout repo"
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
submodules: "recursive"
|
submodules: "recursive"
|
||||||
|
|
||||||
@ -193,13 +193,13 @@ jobs:
|
|||||||
makensis /DPRODUCT_VERSION=${{ inputs.next_version_major }}.${{ inputs.next_version_minor }} installer.nsi
|
makensis /DPRODUCT_VERSION=${{ inputs.next_version_major }}.${{ inputs.next_version_minor }} installer.nsi
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: cemu-bin-windows-x64
|
name: cemu-bin-windows-x64
|
||||||
path: ./bin/Cemu.exe
|
path: ./bin/Cemu.exe
|
||||||
|
|
||||||
- name: Upload NSIS Installer
|
- name: Upload NSIS Installer
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: cemu-installer-windows-x64
|
name: cemu-installer-windows-x64
|
||||||
path: ./src/resource/cemu-${{ inputs.next_version_major }}.${{ inputs.next_version_minor }}-windows-x64-installer.exe
|
path: ./src/resource/cemu-${{ inputs.next_version_major }}.${{ inputs.next_version_minor }}-windows-x64-installer.exe
|
||||||
@ -211,7 +211,7 @@ jobs:
|
|||||||
arch: [x86_64, arm64]
|
arch: [x86_64, arm64]
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout repo"
|
- name: "Checkout repo"
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
submodules: "recursive"
|
submodules: "recursive"
|
||||||
|
|
||||||
@ -289,7 +289,7 @@ jobs:
|
|||||||
rm bin/tmp.dmg
|
rm bin/tmp.dmg
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: cemu-bin-macos-${{ matrix.arch }}
|
name: cemu-bin-macos-${{ matrix.arch }}
|
||||||
path: ./bin/Cemu.dmg
|
path: ./bin/Cemu.dmg
|
||||||
|
|||||||
12
.github/workflows/deploy_release.yml
vendored
12
.github/workflows/deploy_release.yml
vendored
@ -58,7 +58,7 @@ jobs:
|
|||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
needs: [call-release-build, calculate-version]
|
needs: [call-release-build, calculate-version]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
@ -78,27 +78,27 @@ jobs:
|
|||||||
if [ -n "${{ github.event.inputs.changelog9 }}" ]; then CHANGELOG="$CHANGELOG- ${{ github.event.inputs.changelog9 }}\n"; fi
|
if [ -n "${{ github.event.inputs.changelog9 }}" ]; then CHANGELOG="$CHANGELOG- ${{ github.event.inputs.changelog9 }}\n"; fi
|
||||||
echo -e "$CHANGELOG"
|
echo -e "$CHANGELOG"
|
||||||
echo "RELEASE_BODY=$CHANGELOG" >> $GITHUB_ENV
|
echo "RELEASE_BODY=$CHANGELOG" >> $GITHUB_ENV
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
name: cemu-bin-linux-x64
|
name: cemu-bin-linux-x64
|
||||||
path: cemu-bin-linux-x64
|
path: cemu-bin-linux-x64
|
||||||
|
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
name: cemu-appimage-x64
|
name: cemu-appimage-x64
|
||||||
path: cemu-appimage-x64
|
path: cemu-appimage-x64
|
||||||
|
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
name: cemu-bin-windows-x64
|
name: cemu-bin-windows-x64
|
||||||
path: cemu-bin-windows-x64
|
path: cemu-bin-windows-x64
|
||||||
|
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
name: cemu-installer-windows-x64
|
name: cemu-installer-windows-x64
|
||||||
path: cemu-installer-windows-x64
|
path: cemu-installer-windows-x64
|
||||||
|
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
pattern: cemu-bin-macos*
|
pattern: cemu-bin-macos*
|
||||||
path: cemu-macos
|
path: cemu-macos
|
||||||
|
|||||||
@ -23,7 +23,7 @@ jobs:
|
|||||||
next_version_minor: ${{ steps.calculate_next_version.outputs.next_version_minor }}
|
next_version_minor: ${{ steps.calculate_next_version.outputs.next_version_minor }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Get all releases
|
- name: Get all releases
|
||||||
id: get_all_releases
|
id: get_all_releases
|
||||||
|
|||||||
4
.github/workflows/generate_pot.yml
vendored
4
.github/workflows/generate_pot.yml
vendored
@ -19,7 +19,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout repo"
|
- name: "Checkout repo"
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: "Install gettext"
|
- name: "Install gettext"
|
||||||
run: |
|
run: |
|
||||||
@ -36,7 +36,7 @@ jobs:
|
|||||||
-o cemu.pot
|
-o cemu.pot
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: POT file
|
name: POT file
|
||||||
path: ./cemu.pot
|
path: ./cemu.pot
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user