Skip to content

Commit

Permalink
Upgrade actions/upload-artifact@v2 to actions/upload-artifact@v4 (jan…
Browse files Browse the repository at this point in the history
…hq#3650)

Co-authored-by: Hien To <[email protected]>
  • Loading branch information
hiento09 and hientominh authored Sep 13, 2024
1 parent 2599f31 commit e139f88
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/jan-electron-build-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,12 @@ jobs:
with:
ref: ${{ needs.set-public-provider.outputs.ref }}
- name: Download mac-x64 artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: latest-mac-x64
path: ./latest-mac-x64
- name: Download mac-arm artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: latest-mac-arm64
path: ./latest-mac-arm64
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/jan-electron-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ jobs:
uses: actions/checkout@v3

- name: Download mac-x64 artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: latest-mac-x64
path: ./latest-mac-x64
- name: Download mac-arm artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: latest-mac-arm64
path: ./latest-mac-arm64
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/jan-electron-linter-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
run: yarn test:coverage

- name: Upload code coverage for ref branch
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ref-lcov.info
path: ./coverage/lcov.info
Expand Down Expand Up @@ -341,7 +341,7 @@ jobs:
make clean
- name: Download code coverage report from base branch
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ref-lcov.info

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/template-build-linux-x64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,14 @@ jobs:

- name: Upload Artifact .deb file
if: inputs.public_provider != 'github'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: jan-linux-amd64-${{ inputs.new_version }}-deb
path: ./electron/dist/*.deb

- name: Upload Artifact .AppImage file
if: inputs.public_provider != 'github'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: jan-linux-amd64-${{ inputs.new_version }}-AppImage
path: ./electron/dist/*.AppImage
4 changes: 2 additions & 2 deletions .github/workflows/template-build-macos-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,13 @@ jobs:

- name: Upload Artifact
if: inputs.public_provider != 'github'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: jan-mac-arm64-${{ inputs.new_version }}
path: ./electron/dist/jan-mac-arm64-${{ inputs.new_version }}.dmg

- name: Upload Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: latest-mac-arm64
path: ./electron/dist/latest-mac.yml
4 changes: 2 additions & 2 deletions .github/workflows/template-build-macos-x64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,13 @@ jobs:

- name: Upload Artifact
if: inputs.public_provider != 'github'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: jan-mac-x64-${{ inputs.new_version }}
path: ./electron/dist/jan-mac-x64-${{ inputs.new_version }}.dmg

- name: Upload Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: latest-mac-x64
path: ./electron/dist/latest-mac.yml
2 changes: 1 addition & 1 deletion .github/workflows/template-build-windows-x64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ jobs:

- name: Upload Artifact
if: inputs.public_provider != 'github'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: jan-win-x64-${{ inputs.new_version }}
path: ./electron/dist/*.exe
Expand Down

0 comments on commit e139f88

Please sign in to comment.