From 57062b65d1e7fb5b8453f302ae03df43a1758a1b Mon Sep 17 00:00:00 2001 From: cpasjuste Date: Mon, 11 Sep 2023 15:59:27 +0200 Subject: [PATCH] workflows: try to fix deprecated release token --- .github/workflows/3ds-dev.yml | 2 +- .github/workflows/3ds-release.yml | 17 +++++++++-------- .github/workflows/linux-release.yml | 2 +- .github/workflows/ps4-release.yml | 2 +- .github/workflows/switch-release.yml | 2 +- .github/workflows/vita-release.yml | 2 +- .github/workflows/windows-release.yml | 2 +- 7 files changed, 15 insertions(+), 14 deletions(-) diff --git a/.github/workflows/3ds-dev.yml b/.github/workflows/3ds-dev.yml index 0bf526fc..9afe982f 100644 --- a/.github/workflows/3ds-dev.yml +++ b/.github/workflows/3ds-dev.yml @@ -38,7 +38,7 @@ jobs: mkdir cmake-build-pgen && cd cmake-build-pgen source /etc/profile.d/devkit-env.sh cmake -G "Unix Makefiles" -DPLATFORM_3DS=ON -DOPTION_EMU=pgen \ - -DOPTION_LIGHT=ON -DOPTION_MPV_PLAYER=OFF -DCMAKE_BUILD_TYPE=Debug .. + -DOPTION_MPV_PLAYER=OFF -DCMAKE_BUILD_TYPE=Debug .. make -j $(getconf _NPROCESSORS_ONLN) pgen.3dsx - name: Build pnes diff --git a/.github/workflows/3ds-release.yml b/.github/workflows/3ds-release.yml index d6aaf55d..9f0ae8d1 100644 --- a/.github/workflows/3ds-release.yml +++ b/.github/workflows/3ds-release.yml @@ -28,8 +28,8 @@ jobs: run: | mkdir cmake-build-pfbneo && cd cmake-build-pfbneo source /etc/profile.d/devkit-env.sh - cmake -G "Unix Makefiles" -DPLATFORM_3DS=ON \ - -DOPTION_EMU=pfbneo -DOPTION_LIGHT=ON -DCMAKE_BUILD_TYPE=Release .. + cmake -G "Unix Makefiles" -DPLATFORM_3DS=ON -DOPTION_EMU=pfbneo \ + -DOPTION_LIGHT=ON -DOPTION_MPV_PLAYER=OFF -DCMAKE_BUILD_TYPE=Release .. make pfbneo.deps make -j $(getconf _NPROCESSORS_ONLN) pfbneo.3dsx @@ -57,9 +57,10 @@ jobs: #cmake -G "Unix Makefiles" -DPLATFORM_3DS=ON -DOPTION_MPV_PLAYER=OFF -DOPTION_EMU=psnes -DCMAKE_BUILD_TYPE=Release .. #make -j $(getconf _NPROCESSORS_ONLN) psnes.3dsx - - name: Release - uses: softprops/action-gh-release@v1 - if: startsWith(github.ref, 'refs/tags/') - with: - files: '*.3dsx' - token: ${{ secrets.RELEASE_TOKEN }} + # not ready at all... + #- name: Release + # uses: softprops/action-gh-release@v1 + # if: startsWith(github.ref, 'refs/tags/') + # with: + # files: '*.3dsx' + # token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/linux-release.yml b/.github/workflows/linux-release.yml index c3b8e50e..a722ec97 100644 --- a/.github/workflows/linux-release.yml +++ b/.github/workflows/linux-release.yml @@ -60,4 +60,4 @@ jobs: if: startsWith(github.ref, 'refs/tags/') with: files: '*-linux' - token: ${{ secrets.RELEASE_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/ps4-release.yml b/.github/workflows/ps4-release.yml index 22e90e0e..10be199f 100644 --- a/.github/workflows/ps4-release.yml +++ b/.github/workflows/ps4-release.yml @@ -65,4 +65,4 @@ jobs: if: startsWith(github.ref, 'refs/tags/') with: files: '*.pkg' - token: ${{ secrets.RELEASE_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/switch-release.yml b/.github/workflows/switch-release.yml index 21991147..6d2ad3ee 100644 --- a/.github/workflows/switch-release.yml +++ b/.github/workflows/switch-release.yml @@ -62,4 +62,4 @@ jobs: if: startsWith(github.ref, 'refs/tags/') with: files: '*.nro' - token: ${{ secrets.RELEASE_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/vita-release.yml b/.github/workflows/vita-release.yml index 3f9efa59..1773570b 100644 --- a/.github/workflows/vita-release.yml +++ b/.github/workflows/vita-release.yml @@ -75,4 +75,4 @@ jobs: if: startsWith(github.ref, 'refs/tags/') with: files: '*.vpk' - token: ${{ secrets.RELEASE_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/windows-release.yml b/.github/workflows/windows-release.yml index 2db6c9b5..2fad56f8 100644 --- a/.github/workflows/windows-release.yml +++ b/.github/workflows/windows-release.yml @@ -63,4 +63,4 @@ jobs: if: startsWith(github.ref, 'refs/tags/') with: files: '*.zip' - token: ${{ secrets.RELEASE_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }}