Skip to content

Commit

Permalink
Revert core actions to v4 (#391)
Browse files Browse the repository at this point in the history
* Revert "fix issue when uploading artifacts"

This reverts commit b8bec0b.

* Revert "Update core github actions to v4"

This reverts commit 52c1b92.
  • Loading branch information
pablochacin authored Feb 17, 2024
1 parent b8bec0b commit 1df0b37
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,11 @@ jobs:
tar -zcf dist/$AGENT-${PKG_VERSION}-linux-$ARCH.tar.gz -C build/ $AGENT-linux-$ARCH
done
- name: Upload artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: binaries
path: dist/
retention-days: 7
overwrite: true
- name: Export version
id: export-version
env:
Expand Down Expand Up @@ -113,7 +112,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Download binaries
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: binaries
path: dist
Expand All @@ -130,13 +129,12 @@ jobs:
.\wix311\candle.exe -arch x64 "-dVERSION=$Env:VERSION" xk6disruptor.wxs
.\wix311\light.exe -ext WixUIExtension -o "$Env:PKGNAME.msi" xk6disruptor.wixobj
- name: Upload artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: binaries
path: |
packaging/*.msi
retention-days: 7
overwrite: true

publish-images:
runs-on: ubuntu-latest
Expand All @@ -155,7 +153,7 @@ jobs:
echo "PKG_VERSION=${{needs.build-binaries.outputs.pkg_version}}" >> $GITHUB_ENV
echo "IMAGE_VERSION=${{needs.build-binaries.outputs.image_version}}" >> $GITHUB_ENV
- name: Download binaries
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: binaries
path: dist
Expand Down Expand Up @@ -203,11 +201,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Download binaries
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: binaries
path: dist
merge-multiple: true
- name: Generate checksum file
env:
VERSION: ${{ env.VERSION }}
Expand Down

0 comments on commit 1df0b37

Please sign in to comment.