Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
flarive authored Dec 8, 2024
1 parent 601e09a commit 935db74
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
draft: false
prerelease: false

- name: Zip before upload release asset
- name: Zip binaries before upload release asset
uses: TheDoctor0/[email protected]
with:
type: 'zip'
Expand All @@ -117,3 +117,21 @@ jobs:
asset_path: .\win64-binaries.zip
asset_name: win64-binaries.zip
asset_content_type: application/zip

- name: Zip data before upload data asset
uses: TheDoctor0/[email protected]
with:
type: 'zip'
filename: '.\data.zip'
path: '.\binaries\data.zip\*'
exclusions: '*.max'

- name: Upload Data Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: .\data.zip
asset_name: data.zip
asset_content_type: application/zip

0 comments on commit 935db74

Please sign in to comment.