Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghost-chu committed Sep 16, 2024
1 parent 7ffea4d commit f173a92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/build_spk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ jobs:
with:
name: maven-dist
path: target/
- name: Set short git commit SHA
id: vars
run: |
calculatedSha=$(git rev-parse --short ${{ github.sha }})
echo "COMMIT_SHORT_SHA=$calculatedSha" >> $GITHUB_ENV
- name: Run build script
run: sudo PBH_VERSION=${{ env.PBH_VERSION }} IMAGE=${{ env.IMAGE }} bash pkg/synopkg/build-script.sh
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/jvm-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jobs:
Build_Installers:
needs: CI
uses: ./.github/workflows/build_installers.yml
secrets: inherit
secrets:
Build_SPK:
needs: CI
uses: ./.github/workflows/build_spk.yml
with:
image: ghostchu/peerbanhelper-snapshot:sha-${{ env.COMMIT_SHORT_SHA }}
image: ghostchu/peerbanhelper-snapshot:sha-$(git rev-parse --short ${{ github.sha }})
Build_DEB:
needs: CI
uses: ./.github/workflows/build_deb.yml
Expand Down

0 comments on commit f173a92

Please sign in to comment.