Skip to content

Commit 1df0b37

Browse files
authored
Revert core actions to v4 (#391)
* Revert "fix issue when uploading artifacts" This reverts commit b8bec0b. * Revert "Update core github actions to v4" This reverts commit 52c1b92.
1 parent b8bec0b commit 1df0b37

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,11 @@ jobs:
7979
tar -zcf dist/$AGENT-${PKG_VERSION}-linux-$ARCH.tar.gz -C build/ $AGENT-linux-$ARCH
8080
done
8181
- name: Upload artifacts
82-
uses: actions/upload-artifact@v4
82+
uses: actions/upload-artifact@v3
8383
with:
8484
name: binaries
8585
path: dist/
8686
retention-days: 7
87-
overwrite: true
8887
- name: Export version
8988
id: export-version
9089
env:
@@ -113,7 +112,7 @@ jobs:
113112
- name: Checkout code
114113
uses: actions/checkout@v4
115114
- name: Download binaries
116-
uses: actions/download-artifact@v4
115+
uses: actions/download-artifact@v3
117116
with:
118117
name: binaries
119118
path: dist
@@ -130,13 +129,12 @@ jobs:
130129
.\wix311\candle.exe -arch x64 "-dVERSION=$Env:VERSION" xk6disruptor.wxs
131130
.\wix311\light.exe -ext WixUIExtension -o "$Env:PKGNAME.msi" xk6disruptor.wixobj
132131
- name: Upload artifacts
133-
uses: actions/upload-artifact@v4
132+
uses: actions/upload-artifact@v3
134133
with:
135134
name: binaries
136135
path: |
137136
packaging/*.msi
138137
retention-days: 7
139-
overwrite: true
140138

141139
publish-images:
142140
runs-on: ubuntu-latest
@@ -155,7 +153,7 @@ jobs:
155153
echo "PKG_VERSION=${{needs.build-binaries.outputs.pkg_version}}" >> $GITHUB_ENV
156154
echo "IMAGE_VERSION=${{needs.build-binaries.outputs.image_version}}" >> $GITHUB_ENV
157155
- name: Download binaries
158-
uses: actions/download-artifact@v4
156+
uses: actions/download-artifact@v3
159157
with:
160158
name: binaries
161159
path: dist
@@ -203,11 +201,10 @@ jobs:
203201
- name: Checkout code
204202
uses: actions/checkout@v4
205203
- name: Download binaries
206-
uses: actions/download-artifact@v4
204+
uses: actions/download-artifact@v3
207205
with:
208206
name: binaries
209207
path: dist
210-
merge-multiple: true
211208
- name: Generate checksum file
212209
env:
213210
VERSION: ${{ env.VERSION }}

0 commit comments

Comments
 (0)