-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
passing build job_id to download artifacts
- Loading branch information
1 parent
79dd6dc
commit 27a8353
Showing
2 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,10 @@ on: | |
required: true | ||
description: 'The environment to publish to' | ||
default: 'staging' | ||
build_run_id: | ||
type: number | ||
required: true | ||
description: 'The build run id' | ||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
|
@@ -24,9 +28,11 @@ jobs: | |
- name: Install dependencies | ||
run: npm install | ||
|
||
- name: Download artifacts | ||
uses: actions/download-artifact@v2 | ||
|
||
- name: Download workflow artifact | ||
uses: dawidd6/[email protected] | ||
with: | ||
run_id: ${{ inputs.build_run_id }} | ||
name: package | ||
path: build/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,4 @@ jobs: | |
needs: call-build | ||
with: | ||
environment: staging | ||
|
||
build_run_id: ${{ github.run_id }} |