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

⬆️ Updates GitHub Artifact Actions to v4 (major) #18

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
shell: pwsh
run: Expand-Archive -Path "version-json.zip" -DestinationPath ./version-json/
- name: Upload version-json
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: version-json
path: ./version-json/version.json
Expand All @@ -53,7 +53,7 @@ jobs:
shell: pwsh
run: Expand-Archive -Path "release-notes.zip" -DestinationPath ./release-notes/
- name: Upload release-notes
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: release-notes
path: ./release-notes/release-notes.md
Expand All @@ -67,7 +67,7 @@ jobs:
- name: Check out repository code
uses: actions/checkout@v4
- name: "Get artifact: version-json"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: version-json
path: ./out/
Expand All @@ -80,7 +80,7 @@ jobs:
echo "::set-output name=$key::$($version.$key)"
}
- name: "Get artifact: release-notes"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: release-notes
path: ./out/
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
exit $gitversionExitCode
}
- name: "Create artifact: version-json"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: version-json
path: ./out/version.json
Expand All @@ -62,7 +62,7 @@ jobs:
with:
fetch-depth: 0 # create-release-notes requires the full history to create the release notes.
- name: "Get artifact: version-json"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: version-json
path: ./out/
Expand All @@ -85,7 +85,7 @@ jobs:
commitMode: true
outputFile: ./out/release-notes.md
- name: "Create artifact: release-notes"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: release-notes
path: ./out/release-notes.md
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ runs:
shell: pwsh
run: Expand-Archive -Path "${{ inputs.name }}.zip" -DestinationPath ./${{ inputs.name }}/
- name: "Upload '/${{ inputs.name }}'"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "${{ inputs.name }}"
path: "./${{ inputs.name }}/"
Expand Down
Loading