Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Matte22 committed Mar 1, 2024
1 parent 92c6028 commit 113548b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-binary-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ jobs:
ref: build-workflow-pr
fetch-depth: 0

- name: run build script
id: run_build_script
run: ./build.sh

- name: Import GPG Key
id: import_gpg
run: |
Expand All @@ -32,22 +36,18 @@ jobs:
exit 1
fi
- name: run build script
id: run_build_script
run: ./build.sh

- name: Get version from package.json
id: package_version
run: echo "PACKAGE_VERSION=$(jq -r '.version' package.json)" >> $GITHUB_ENV

- name: Sign Artifacts
id: sign_artifacts
run: |
if ! gpg--default-key [email protected] --armor --detach-sig ./dist/stigman-watcher-linux-${{ env.PACKAGE_VERSION }}.tar.gz; then
if ! gpg --default-key [email protected] --armor --detach-sig ./dist/stigman-watcher-linux-${{ env.PACKAGE_VERSION }}.tar.gz; then
echo "::warning ::Linux Signing failed"
exit 1
fi
if ! gpg--default-key [email protected] --armor --detach-sig ./dist/stigman-watcher-win-${{ env.PACKAGE_VERSION }}.zip; then
if ! gpg --default-key [email protected] --armor --detach-sig ./dist/stigman-watcher-win-${{ env.PACKAGE_VERSION }}.zip; then
echo "::warning ::Windows Signing failed"
exit 1
fi
Expand Down

0 comments on commit 113548b

Please sign in to comment.