Skip to content

Commit 0aa3e18

Browse files
committed
Upgrade artifact actions from v3 to v4
1 parent 7723259 commit 0aa3e18

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/rust.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,16 +98,16 @@ jobs:
9898
JRELEASER_PLATFORM_OVERRIDE: ${{ matrix.jreleaser_platform }}
9999

100100
- name: Upload artifacts
101-
uses: actions/upload-artifact@v3
101+
uses: actions/upload-artifact@v4
102102
with:
103103
retention-days: 1
104-
name: artifacts
104+
name: artifacts-${{ matrix.target }}
105105
path: |
106106
out/jreleaser/assemble/reddsaver/archive/*.zip
107107
108108
- name: JReleaser output
109109
if: always()
110-
uses: actions/upload-artifact@v3
110+
uses: actions/upload-artifact@v4
111111
with:
112112
name: jreleaser-output-${{ matrix.target }}
113113
path: |
@@ -123,7 +123,11 @@ jobs:
123123
uses: actions/checkout@v1
124124

125125
- name: Download artifacts
126-
uses: actions/download-artifact@v3
126+
uses: actions/download-artifact@v4
127+
with:
128+
pattern: artifacts-*
129+
path: artifacts
130+
merge-multiple: true
127131

128132
- name: Release
129133
uses: jreleaser/release-action@v2
@@ -136,7 +140,7 @@ jobs:
136140

137141
- name: JReleaser output
138142
if: always()
139-
uses: actions/upload-artifact@v3
143+
uses: actions/upload-artifact@v4
140144
with:
141145
name: output-release-logs
142146
path: |

0 commit comments

Comments
 (0)