Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
nishinji committed Oct 4, 2024
1 parent faab9d6 commit c011f44
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,7 @@ jobs:
create-release:
needs: [build]
runs-on: "ubuntu-20.04"
if: |
github.ref == 'refs/heads/master' &&
github.repository == 'Vita3K/Vita3K'
if: github.ref == 'refs/heads/master' #&& github.repository == 'Vita3K/Vita3K'
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -236,12 +234,13 @@ jobs:
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/
ghr_v0.16.2_linux_amd64/ghr -u ${{ github.repository_owner }} -r Vita3K -recreate -n 'Automatic CI builds' -b "$(printf "Corresponding commit: ${{ github.sha }}\nVita3K Build: ${{ env.Build_Variable }}")" continuous artifacts/
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Make release on store repository
if: github.repository == 'Vita3K/Vita3K'
run: |
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/
ghr_v0.16.2_linux_amd64/ghr -u ${{ github.repository_owner }} -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/
env:
GITHUB_TOKEN: ${{ secrets.STORE_TOKEN }}

0 comments on commit c011f44

Please sign in to comment.