Skip to content

Commit

Permalink
ci: rename artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
shumkov committed Nov 14, 2024
1 parent bf3fb89 commit 9c79aec
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/actions/local-network/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ runs:
- name: Download JS build artifacts
uses: actions/download-artifact@v4
with:
name: build-js-artifacts-${{ github.sha }}
name: js-build-${{ github.sha }}

- name: Unpack JS build artifacts archive
shell: bash
run: tar -xf build-js-artifacts-${{ github.sha }}.tar
run: tar -xf js-build-${{ github.sha }}.tar

- name: Get dashmate fingerprint
id: dashmate-fingerprint
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- uses: softwareforgood/check-artifact-v4-existence@v0
id: check-artifact
with:
name: build-js-artifacts-${{ github.sha }}
name: js-build-${{ github.sha }}

- name: Login to DockerHub
uses: docker/login-action@v3
Expand Down Expand Up @@ -142,14 +142,14 @@ jobs:
if: ${{ steps.check-artifact.outputs.exists != 'true' }}

- name: Create an archive of built files
run: xargs -a artifacts_list.txt tar cvf build-js-artifacts-${{ github.sha }}.tar
run: xargs -a artifacts_list.txt tar cvf js-build-${{ github.sha }}.tar
if: ${{ steps.check-artifact.outputs.exists != 'true' }}

- name: Upload the archive of built files
uses: actions/upload-artifact@v4
with:
name: build-js-artifacts-${{ github.sha }}
path: build-js-artifacts-${{ github.sha }}.tar
name: js-build-${{ github.sha }}
path: js-build-${{ github.sha }}.tar
retention-days: 1
if-no-files-found: error
if: ${{ steps.check-artifact.outputs.exists != 'true' }}
Expand Down Expand Up @@ -249,7 +249,7 @@ jobs:
- name: Download JS build artifacts
uses: actions/download-artifact@v4
with:
name: build-js-artifacts-${{ github.sha }}
name: js-build-${{ github.sha }}

- name: Install macOS build deps
if: runner.os == 'macOS'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests-build-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: softwareforgood/check-artifact-v4-existence@v0
id: check-artifact
with:
name: build-js-artifacts-${{ github.sha }}
name: js-build-${{ github.sha }}

- name: Check out repo
uses: actions/checkout@v4
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
- name: Upload the archive of built files
uses: actions/upload-artifact@v4
with:
name: build-js-artifacts-${{ github.sha }}
name: js-build-${{ github.sha }}
path: ${{ steps.diff.outputs.files }}
retention-days: 1
if-no-files-found: error
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Download JS build artifacts
uses: actions/download-artifact@v4
with:
name: build-js-artifacts-${{ github.sha }}
name: js-build-${{ github.sha }}

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-dashmate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Download JS build artifacts
uses: actions/download-artifact@v4
with:
name: build-js-artifacts-${{ github.sha }}
name: js-build-${{ github.sha }}

- name: Replace with pre-built images
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests-js-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Download JS build artifacts
uses: actions/download-artifact@v4
with:
name: build-js-artifacts-${{ github.sha }}
name: js-build-${{ github.sha }}

- name: Run ESLinter
run: yarn workspace "${{ inputs.package }}" lint
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
- name: Download JS build artifacts
uses: actions/download-artifact@v4
with:
name: build-js-artifacts-${{ github.sha }}
name: js-build-${{ github.sha }}

- name: Create necessary dotenv files
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -245,5 +245,5 @@ jobs:
steps:
- uses: geekyeggo/delete-artifact@v5
with:
name: build-js-artifacts-${{ github.sha }}
name: js-build-${{ github.sha }}
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' || !github.event.pull_request.draft }}

0 comments on commit 9c79aec

Please sign in to comment.