Use github.ref_name instead of github.ref

This commit is contained in:
Salad Dais
2022-06-24 02:32:50 +00:00
parent 2e7f887970
commit 0f9246c5c6

View File

@@ -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 }}