Use github.ref_name instead of github.ref
This commit is contained in:
8
.github/workflows/bundle_windows.yml
vendored
8
.github/workflows/bundle_windows.yml
vendored
@@ -43,15 +43,15 @@ jobs:
|
||||
pip-licenses --format=plain-vertical --with-license-file --no-license-path --output-file=lib_licenses.txt
|
||||
python setup_cxfreeze.py finalize_cxfreeze
|
||||
# Should only be one, but we don't know what it's named
|
||||
mv ./dist/*.zip hippolyzer-windows-${{ github.ref }}.zip
|
||||
mv ./dist/*.zip hippolyzer-windows-${{ github.ref_name }}.zip
|
||||
|
||||
- name: Upload the artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: hippolyzer-windows-${{ github.ref }}
|
||||
path: ./hippolyzer-windows-${{ github.ref }}.zip
|
||||
name: hippolyzer-windows-${{ github.ref_name }}
|
||||
path: ./hippolyzer-windows-${{ github.ref_name }}.zip
|
||||
|
||||
- uses: ncipollo/release-action@v1.10.0
|
||||
with:
|
||||
artifacts: hippolyzer-windows-${{ github.ref }}.zip
|
||||
artifacts: hippolyzer-windows-${{ github.ref_name }}.zip
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user