Skip to content

Commit

Permalink
ci: Update artifact Github Actions to v4 (#965)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexs-mparticle committed Jan 17, 2025
1 parent 62c7707 commit 52b0aa7
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: NPM install
uses: actions/setup-node@v3
with:
node-version: latest
node-version: latest

- name: Run NPM CI
run: npm ci
Expand All @@ -36,13 +36,13 @@ jobs:
run: git diff --unified=3 dist/mparticle.js | npx diff-so-fancy

- name: Archive Bundle
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: bundle-local
path: dist

- name: Archive npm failure logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: npm-logs
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
run: npm run test:jest

- name: Archive npm failure logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: npm-logs
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
run: npm run test:stub

- name: Archive npm failure logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: npm-logs
Expand Down Expand Up @@ -230,7 +230,7 @@ jobs:
run: npm ci

- name: Download Local Bundle
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: bundle-local

Expand All @@ -251,7 +251,7 @@ jobs:
echo "::set-output name=bundledLocalHuman::${{ env.BUNDLED_LOCAL_HUMAN }}"
- name: Archive npm failure logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: npm-logs
Expand Down Expand Up @@ -294,7 +294,7 @@ jobs:
echo "::set-output name=bundledMasterHuman::${{ env.BUNDLED_MASTER_HUMAN }}"
- name: Archive npm failure logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: npm-logs
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
run: git diff --unified=3 dist/mparticle.js | npx diff-so-fancy

- name: Archive npm failure logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: npm-logs
Expand All @@ -73,7 +73,7 @@ jobs:
run: npm run test:jest

- name: Archive npm failure logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: npm-logs
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
run: npm run test:stub

- name: Archive npm failure logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: npm-logs
Expand Down Expand Up @@ -286,7 +286,7 @@ jobs:
npx semantic-release
- name: Archive npm failure logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: npm-logs
Expand Down Expand Up @@ -325,4 +325,4 @@ jobs:
- name: Delete release branch
if: ${{ github.event.inputs.dryRun == 'false' }}
run: |
git push --delete origin release/${{ github.run_number }}
git push --delete origin release/${{ github.run_number }}
8 changes: 4 additions & 4 deletions .github/workflows/staging-step-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
run: git diff --unified=3 dist/mparticle.js | npx diff-so-fancy

- name: Archive npm failure logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: npm-logs
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
run: npm run test:jest

- name: Archive npm failure logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: npm-logs
Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:
run: npm run test:stub

- name: Archive npm failure logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: npm-logs
Expand Down Expand Up @@ -300,7 +300,7 @@ jobs:
npx semantic-release --branches staging
- name: Archive npm failure logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: npm-logs
Expand Down

0 comments on commit 52b0aa7

Please sign in to comment.