zip it up

This commit is contained in:
Waylon Walker 2023-06-15 07:57:33 -05:00
parent 077c8cc898
commit 645a6d78af
No known key found for this signature in database
GPG key ID: 66E2BF2B4190EFE4

View file

@ -41,11 +41,13 @@ jobs:
with: with:
name: lsm-${{ matrix.os }} name: lsm-${{ matrix.os }}
path: dist path: dist
- name: Upload Release Asset - name: zip up dist
run: zip -r dist.zip lsm-${{ matrix.os }}
- name: Upload Release Asset to versioned release
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload v${{ github.run_number }} dist/learn_sql_model* run: gh release upload v${{ github.run_number }} lsm-${{ matrix.os }}
- name: Upload Release Asset - name: Upload Release Asset to latest release
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload latest dist/learn_sql_model* run: gh release upload latest lsm-${{ matrix.os }}