Skip to content

Commit

Permalink
ci: bump actions/upload-artifact and actions/download-artifact to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
wangl-cc committed Dec 19, 2023
1 parent e809692 commit 5c60989
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-aur.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
git commit -m "github-actions[bot]: Upgrade to ${{ inputs.pkgver || github.ref_name }}"
git push origin --verbose ${{ inputs.dryrun && '--dry-run' || '' }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: package
path: maa-cli/*.pkg.tar.zst
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ jobs:
run: |
tar -cvf "$CARGO_BUILD_TARGET.tar" -C "target/$CARGO_BUILD_TARGET/release" maa
- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: maa_cli-${{ env.CARGO_BUILD_TARGET }}
path: ${{ env.CARGO_BUILD_TARGET }}.tar
Expand All @@ -159,7 +159,7 @@ jobs:
# download all artifacts, even if not all are used,
# because this action don't support wildcards
- name: Download Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
- name: Create universal binaries
run: |
for arch in x86_64 aarch64; do
Expand All @@ -170,7 +170,7 @@ jobs:
lipo -create -output maa maa_cli-x86_64-apple-darwin/maa maa_cli-aarch64-apple-darwin/maa
tar -cvf "universal-apple-darwin.tar" maa
- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: maa_cli-universal-apple-darwin
path: universal-apple-darwin.tar
Expand All @@ -193,7 +193,7 @@ jobs:
COMMIT: ${{ needs.meta.outputs.commit }}
steps:
- name: Download Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
- name: Checkout version branch
uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 5c60989

Please sign in to comment.