Skip to content

Commit

Permalink
feat: Update Sign Release
Browse files Browse the repository at this point in the history
There has been a bump in the sign release action version, with a breaking
change. This passes through the artifact id, which is now a requirement.

#1354
  • Loading branch information
techman83 committed Jul 5, 2024
1 parent 829b4d3 commit c24fa56
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
- name: Build ckan.exe and netkan.exe
run: ./build --configuration=${{ inputs.configuration }}
- name: Upload repack artifact
id: upload-repack-artifact
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.configuration }}-repack-unsigned
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ jobs:
outputs:
artifact-url: ${{steps.sign.outputs.signing-request-id }}
steps:
- uses: signpath/github-action-submit-signing-request@v0.3
- uses: signpath/github-action-submit-signing-request@v0.4
id: sign
with:
api-token: ${{ secrets.SIGNPATH_API_TOKEN }}
organization-id: 0cd9fc3f-b78d-4214-b152-b2e93c952e14
project-slug: CKAN
signing-policy-slug: test-signing
github-artifact-name: Release-repack-unsigned
github-artifact-id: ${{ needs.smoke-inflator.outputs.repack-artifact-id }}
artifact-configuration-slug: release
wait-for-completion: true

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
- synchronize
- reopened
workflow_call:
outputs:
repack-artifact-id:
description: "Artifact ID of the repack"
value: ${{ jobs.build-release.outputs.repack-artifact-id }}

jobs:
build-release:
Expand Down

0 comments on commit c24fa56

Please sign in to comment.