Skip to content

Commit

Permalink
Upgrade Github workflows module upload artifacts to version v4
Browse files Browse the repository at this point in the history
  • Loading branch information
cavearr committed Jan 7, 2025
1 parent f66fc2c commit de041fd
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-windows-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
env:
ICESTUDIO_VERSION: "${{steps.icestudio_json.outputs.icestudio_version}}"
TIMESTAMP: "${{steps.build_date.outputs.icestudio_timestamp}}"
uses: 'actions/upload-artifact@v3'
uses: 'actions/upload-artifact@v4'
with:
name: "win64_MSI_${{env.ICESTUDIO_VERSION}}${{env.TIMESTAMP}}"
path: "dist/icestudio-${{env.ICESTUDIO_VERSION}}${{env.TIMESTAMP}}-win64.exe"
Expand All @@ -79,7 +79,7 @@ jobs:
env:
ICESTUDIO_VERSION: "${{steps.icestudio_json.outputs.icestudio_version}}"
TIMESTAMP: "${{steps.build_date.outputs.icestudio_timestamp}}"
uses: 'actions/upload-artifact@v3'
uses: 'actions/upload-artifact@v4'
with:
name: "win64_ZIP_${{env.ICESTUDIO_VERSION}}${{env.TIMESTAMP}}"
path: "dist/icestudio-${{env.ICESTUDIO_VERSION}}${{env.TIMESTAMP}}-win64.zip"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
env:
ICESTUDIO_VERSION: "${{steps.icestudio_json.outputs.icestudio_version}}"
TIMESTAMP: "${{steps.build_date.outputs.icestudio_timestamp}}"
uses: 'actions/upload-artifact@v3'
uses: 'actions/upload-artifact@v4'
with:
name: "Aarch64_ZIP_${{env.ICESTUDIO_VERSION}}${{env.TIMESTAMP}}"
path: "dist/icestudio-${{env.ICESTUDIO_VERSION}}${{env.TIMESTAMP}}-aarch64.zip"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-osx-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
env:
ICESTUDIO_VERSION: "${{fromJson(steps.icestudio_json.outputs.packageJson).version}}"
TIMESTAMP: "${{fromJson(steps.build_date.outputs.buildJson).ts}}"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "osxarm64_DMG_${{env.ICESTUDIO_VERSION}}${{env.TIMESTAMP}}"
path: "dist/icestudio-${{env.ICESTUDIO_VERSION}}${{env.TIMESTAMP}}-osxarm64.dmg"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
env:
ICESTUDIO_VERSION: "${{steps.icestudio_json.outputs.icestudio_version}}"
TIMESTAMP: "${{steps.build_date.outputs.icestudio_timestamp}}"
uses: 'actions/upload-artifact@v3'
uses: 'actions/upload-artifact@v4'
with:
name: "win64_MSI_${{env.ICESTUDIO_VERSION}}${{env.TIMESTAMP}}"
path: "dist/icestudio-${{env.ICESTUDIO_VERSION}}${{env.TIMESTAMP}}-win64.exe"
Expand All @@ -98,7 +98,7 @@ jobs:
env:
ICESTUDIO_VERSION: "${{steps.icestudio_json.outputs.icestudio_version}}"
TIMESTAMP: "${{steps.build_date.outputs.icestudio_timestamp}}"
uses: 'actions/upload-artifact@v3'
uses: 'actions/upload-artifact@v4'
with:
name: "win64_ZIP_${{env.ICESTUDIO_VERSION}}${{env.TIMESTAMP}}"
path: "dist/icestudio-${{env.ICESTUDIO_VERSION}}${{env.TIMESTAMP}}-win64.zip"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
env:
ICESTUDIO_VERSION: "${{steps.icestudio_json.outputs.icestudio_version}}"
TIMESTAMP: "${{steps.build_date.outputs.icestudio_timestamp}}"
uses: 'actions/upload-artifact@v3'
uses: 'actions/upload-artifact@v4'
with:
name: "linux64_AppImage_${{env.ICESTUDIO_VERSION}}${{env.TIMESTAMP}}"
path: "dist/icestudio-${{env.ICESTUDIO_VERSION}}${{env.TIMESTAMP}}-linux64.AppImage"
Expand All @@ -91,7 +91,7 @@ jobs:
env:
ICESTUDIO_VERSION: "${{steps.icestudio_json.outputs.icestudio_version}}"
TIMESTAMP: "${{steps.build_date.outputs.icestudio_timestamp}}"
uses: 'actions/upload-artifact@v3'
uses: 'actions/upload-artifact@v4'
with:
name: "linux64_ZIP_${{env.ICESTUDIO_VERSION}}${{env.TIMESTAMP}}"
path: "dist/icestudio-${{env.ICESTUDIO_VERSION}}${{env.TIMESTAMP}}-linux64.zip"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-upload-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ jobs:
- name: Test creating dist files
run: dd if=/dev/zero of=test.dat bs=1024 count=1024
- name: 'Upload artifact'
uses: 'actions/upload-artifact@v3'
uses: 'actions/upload-artifact@v4'
with:
path: test.dat

0 comments on commit de041fd

Please sign in to comment.