Archived
1
0

fix(ci): correctly download npm/docker artifacts (#4995)

* fix(ci): correctly download npm artifact

* fixup! fix(ci): correctly download npm artifact

* docs: update MAINTAINING

* fixup! docs: update MAINTAINING

* fixup! Merge branch 'main' into 4949-chore-fix-npm-workflow

* chore: get ci to run

* refactor: use vVERSION branch name instead of release

* refactor: use new download artifact in docker workflow

* refactor: clean up release-github-assets script

* fixup: remove extra v

* fixup! fixup: remove extra v
This commit is contained in:
Joe Previte
2022-03-17 11:52:39 -07:00
committed by GitHub
parent a0561c7685
commit 5afb26fb60
7 changed files with 36 additions and 17 deletions

View File

@ -197,7 +197,8 @@ jobs:
with:
fetch-depth: 0
- uses: actions/download-artifact@v3
- name: Download artifact
uses: actions/download-artifact@v3
id: download
with:
name: "npm-package"

View File

@ -35,6 +35,19 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Get version
id: version
run: echo "::set-output name=version::$(jq .version package.json)"
- name: Download artifact
uses: dawidd6/action-download-artifact@v2
id: download
with:
branch: v${{ steps.version.outputs.version }}
workflow_conclusion: completed
name: "release-packages"
path: release-packages
- name: Run ./ci/steps/docker-buildx-push.sh
run: ./ci/steps/docker-buildx-push.sh
env:

View File

@ -23,9 +23,16 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
- name: Get version
id: version
run: echo "::set-output name=version::$(jq .version package.json)"
- name: Download artifact
uses: dawidd6/action-download-artifact@v2
id: download
with:
branch: v${{ steps.version.outputs.version }}
workflow_conclusion: completed
name: "npm-package"
path: release-npm-package