Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(.github): bump artifact actions to v4 #33

Merged
merged 1 commit into from
Sep 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 12 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ jobs:
tar czf platform-${{ env.RELEASE_VERSION }}-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}.tar.gz platform.license platform${{ matrix.config.extension }}

- name: Upload build artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: platform
name: platform-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}
path: _dist/platform-${{ env.RELEASE_VERSION }}-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}.tar.gz

- name: upload binary to Github release
Expand Down Expand Up @@ -155,18 +155,19 @@ jobs:
run: echo "RELEASE_VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV

- name: download release assets
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: platform
pattern: platform-*
merge-multiple: true

- name: generate checksums
run: |
ls -lh
sha256sum platform*.tar.gz > checksums-${{ env.RELEASE_VERSION }}.txt

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: platform
name: platform-checksums
path: checksums-${{ env.RELEASE_VERSION }}.txt

- name: upload checksums to Github release
Expand All @@ -181,9 +182,9 @@ jobs:
shell: bash
run: bash .plugin-manifests/generate-manifest.sh ${{ env.RELEASE_VERSION }} checksums-${{ env.RELEASE_VERSION }}.txt > platform.json

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: platform
name: platform-manifest
path: platform.json

- name: upload plugin manifest to release
Expand All @@ -203,9 +204,10 @@ jobs:
- uses: actions/checkout@v3

- name: download release assets
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: platform
pattern: platform-*
merge-multiple: true

- name: 'Check if canary tag exists'
id: canaryExists
Expand Down
Loading