Zip artifacts before trying to upload them as artifacts

This commit is contained in:
Jan 2023-11-04 14:38:29 +01:00
parent ed20e6d0a2
commit f19550b58e
No known key found for this signature in database
GPG Key ID: 44B581F78FF5C57C

View File

@ -109,11 +109,15 @@ jobs:
contents: write
steps:
- uses: actions/download-artifact@v3
- name: Zip artifacts
run:
- 7z a oat-linux.tar.gz ./oat-linux/*
- 7z a oat-windows.zip ./oat-windows/*
- uses: ncipollo/release-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
artifacts: "*.zip"
artifacts: "oat-linux.tar.gz,oat-windows.zip"
artifactErrorsFailBuild: true
allowUpdates: true
draft: true