Skip to content

Commit

Permalink
Add .tgz export for use in containers
Browse files Browse the repository at this point in the history
The zip executable is not available in standard IRIS containers.
  • Loading branch information
gertjanklein committed Jun 16, 2022
1 parent f27111f commit 248ce81
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/build-export-for-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,12 @@ jobs:
python ieb/src/build-export.py ci/build-export.toml
mv ci/export.xml "Strix-${{ github.ref_name }}.xml"
zip --junk-paths "Strix-${{ github.ref_name }}.zip" "Strix-${{ github.ref_name }}.xml"
tar cvzf "Strix-${{ github.ref_name }}.tgz" "Strix-${{ github.ref_name }}.xml"
- name: Shutdown UDL → XML conversion server
run: docker stop testiris

- name: Upload release asset
- name: Upload release zip
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -54,3 +55,13 @@ jobs:
asset_name: Strix-${{ github.ref_name }}.zip
asset_content_type: application/zip

- name: Upload release tgz
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: Strix-${{ github.ref_name }}.tgz
asset_name: Strix-${{ github.ref_name }}.tgz
asset_content_type: application/gzip

0 comments on commit 248ce81

Please sign in to comment.