Skip to content

Commit

Permalink
.github/workflows: update
Browse files Browse the repository at this point in the history
  • Loading branch information
nishinji committed Dec 5, 2024
1 parent 19be7c3 commit 9c61f6a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,6 @@ cpu:
- changed-files:
- any-glob-to-any-file:
- 'vita3k/cpu/**'
crypto:
- changed-files:
- any-glob-to-any-file:
- 'vita3k/crypto/**'
ctrl:
- changed-files:
- any-glob-to-any-file:
Expand Down Expand Up @@ -170,6 +166,10 @@ packages:
- changed-files:
- any-glob-to-any-file:
- 'vita3k/packages/**'
patch:
- changed-files:
- any-glob-to-any-file:
- 'vita3k/patch/**'
regmgr:
- changed-files:
- any-glob-to-any-file:
Expand Down
17 changes: 10 additions & 7 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,10 @@ jobs:
fail-fast: false
matrix:
repo: [master, store]
runs-on: "ubuntu-20.04"
concurrency:
group: ${{ github.workflow }}-${{ matrix.repo }}
cancel-in-progress: false
runs-on: ubuntu-latest
if: |
github.ref == 'refs/heads/master' &&
github.repository == 'Vita3K/Vita3K'
Expand Down Expand Up @@ -241,9 +244,9 @@ jobs:
fi
done
ls -al artifacts/
wget -c https://github.com/tcnksm/ghr/releases/download/v0.16.2/ghr_v0.16.2_linux_amd64.tar.gz
tar xfv ghr_v0.16.2_linux_amd64.tar.gz
ghr_v0.16.2_linux_amd64/ghr -u Vita3K -r Vita3K -recreate -n 'Automatic CI builds' -b "$(printf "Corresponding commit: ${{ github.sha }}\nVita3K Build: ${{ env.Build_Variable }}")" continuous artifacts/
wget -c https://github.com/tcnksm/ghr/releases/download/v0.17.0/ghr_v0.17.0_linux_amd64.tar.gz
tar xfv ghr_v0.17.0_linux_amd64.tar.gz
ghr_v0.17.0_linux_amd64/ghr -u Vita3K -r Vita3K -recreate -n 'Automatic CI builds' -b "$(printf "Corresponding commit: ${{ github.sha }}\nVita3K Build: ${{ env.Build_Variable }}")" continuous artifacts/
if: matrix.repo == 'master'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -275,9 +278,9 @@ jobs:
fi
done
ls -al artifacts/
wget -c https://github.com/tcnksm/ghr/releases/download/v0.16.2/ghr_v0.16.2_linux_amd64.tar.gz
tar xfv ghr_v0.16.2_linux_amd64.tar.gz
ghr_v0.16.2_linux_amd64/ghr -u Vita3K -r Vita3K-builds -n "Build: ${{ env.Build_Variable }}" -b "$(printf "Corresponding commit: [${{ env.Latest_Commit_Message }}](https://github.com/Vita3K/Vita3K/commit/${{ github.sha }}) (${{ env.Commiter_Name }})")" ${{ env.Build_Variable }} artifacts/
wget -c https://github.com/tcnksm/ghr/releases/download/v0.17.0/ghr_v0.17.0_linux_amd64.tar.gz
tar xfv ghr_v0.17.0_linux_amd64.tar.gz
ghr_v0.17.0_linux_amd64/ghr -u Vita3K -r Vita3K-builds -n "Build: ${{ env.Build_Variable }}" -b "$(printf "Corresponding commit: [${{ env.Latest_Commit_Message }}](https://github.com/Vita3K/Vita3K/commit/${{ github.sha }}) (${{ env.Commiter_Name }})")" ${{ env.Build_Variable }} artifacts/
if: matrix.repo == 'store'
env:
GITHUB_TOKEN: ${{ secrets.STORE_TOKEN }}

0 comments on commit 9c61f6a

Please sign in to comment.