From 0f9246c5c63e800cb0864bc4cee8a9031dbab7b6 Mon Sep 17 00:00:00 2001 From: Salad Dais Date: Fri, 24 Jun 2022 02:32:50 +0000 Subject: [PATCH] Use github.ref_name instead of github.ref --- .github/workflows/bundle_windows.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/bundle_windows.yml b/.github/workflows/bundle_windows.yml index eb0489b..4bf4651 100644 --- a/.github/workflows/bundle_windows.yml +++ b/.github/workflows/bundle_windows.yml @@ -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 }}