Skip to content

Commit

Permalink
Merge pull request #852 from magiclabs/fix-build
Browse files Browse the repository at this point in the history
chore: migrate upload-artifact to v4
  • Loading branch information
joshuascan authored Jan 30, 2025
2 parents 4b684ac + 1aa37cb commit 5b1b58e
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 58 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Canary
on:
pull_request:
branches:
- "master"
- 'master'
merge_group:
types: [checks_requested]

Expand Down Expand Up @@ -36,13 +36,14 @@ jobs:
run: yarn build

- name: Upload Build Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-output
path: |
packages/@magic-ext/*/dist
packages/@magic-sdk/*/dist
packages/*/dist
overwrite: true

create_canary:
runs-on: ubuntu-20.04
Expand All @@ -68,7 +69,7 @@ jobs:
yarn install --immutable
- name: Download Build Results
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-output
path: packages
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish
on:
push:
branches:
- "master"
- 'master'

env:
GITHUB_TOKEN: ${{ secrets.ARI_ADMIN_PAT_TOKEN }}
Expand Down Expand Up @@ -52,13 +52,14 @@ jobs:
run: yarn build

- name: Upload Build Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-output
path: |
packages/@magic-ext/*/dist
packages/@magic-sdk/*/dist
packages/*/dist
overwrite: true

publish:
runs-on: ubuntu-20.04
Expand Down Expand Up @@ -88,7 +89,7 @@ jobs:
yarn install --immutable
- name: Download Build Results
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-output
path: packages
Expand Down
Loading

0 comments on commit 5b1b58e

Please sign in to comment.