Skip to content

Commit

Permalink
add release condition
Browse files Browse the repository at this point in the history
  • Loading branch information
nomi-san committed Nov 29, 2024
1 parent 4206882 commit 36f0ce7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ jobs:
app/bin/ParsecVDisplay.exe.config
- name: Sign the build
if: ${{ inputs.release }}
uses: signpath/github-action-submit-signing-request@v1
with:
api-token: ${{ secrets.SIGNPATH_API_TOKEN }}
Expand All @@ -71,11 +72,13 @@ jobs:
Version: "${{ github.ref_name }}"
- name: Delete unwanted artifacts
if: ${{ inputs.release }}
uses: geekyeggo/delete-artifact@v5
with:
name: '*'

- name: Upload signed build
if: ${{ inputs.release }}
uses: actions/upload-artifact@v4
with:
name: ${{ env.ARTIFACT_NAME }}
Expand Down

0 comments on commit 36f0ce7

Please sign in to comment.