Skip to content

Commit

Permalink
ci: update to upload/download actions v4
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jan 30, 2025
1 parent c08b751 commit 8f3364c
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- dev
tags:
- "*"
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
Expand Down Expand Up @@ -64,7 +65,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload Dist
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: dist
Expand All @@ -90,7 +91,7 @@ jobs:
- uses: actions/checkout@v4

- name: Download Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: dist

Expand Down Expand Up @@ -123,9 +124,9 @@ jobs:
pnpm run pack.exe
- name: Upload Executables
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: exe
name: exe-${{ matrix.os }}
path: |
./exe
retention-days: 1
Expand Down Expand Up @@ -155,7 +156,7 @@ jobs:
submodules: true

- name: Download Dist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: dist

Expand Down Expand Up @@ -236,7 +237,7 @@ jobs:
submodules: true

- name: Download Dist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: dist

Expand Down Expand Up @@ -269,7 +270,7 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Download All Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4

- name: Place Artifacts
shell: bash
Expand Down

0 comments on commit 8f3364c

Please sign in to comment.