Skip to content

Commit

Permalink
Let the smoke test call build
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed Sep 22, 2024
1 parent a7a29f5 commit e8c84f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/sign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ on:
workflow_call:

jobs:
build-release:
uses: ./.github/workflows/build.yml
with:
configuration: Release
test-release:
uses: ./.github/workflows/test.yml
smoke-inflator:
Expand All @@ -16,7 +12,6 @@ jobs:
sign:
runs-on: ubuntu-latest
needs:
- build-release
- test-release
- smoke-inflator
steps:
Expand All @@ -28,7 +23,7 @@ jobs:
api-token: ${{ secrets.SIGNPATH_API_TOKEN }}
signing-policy-slug: release-signing
artifact-configuration-slug: release
github-artifact-id: ${{ needs.build-release.outputs.unsigned-artifact-id }}
github-artifact-id: ${{ needs.smoke-inflator.outputs.unsigned-artifact-id }}
wait-for-completion: true
output-artifact-directory: _build/signed
- name: Upload signed artifact
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:
unsigned-artifact-id:
description: Artifact ID of the assets to be signed
value: ${{ jobs.build-release.outputs.unsigned-artifact-id }}

jobs:
build-release:
Expand Down

0 comments on commit e8c84f3

Please sign in to comment.