diff --git a/.github/workflows/release-action.yml b/.github/workflows/release-action.yml index 43ca2ec..5295a2e 100644 --- a/.github/workflows/release-action.yml +++ b/.github/workflows/release-action.yml @@ -13,12 +13,12 @@ jobs: - uses: actions/checkout@v2 - name: Zip Folder - run: zip -r ${{ github.event.repository.name }}.zip default + run: zip -r default-hlstatsx-files-${{github.ref_name}}.zip default - name: Release uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') with: - files: default-hlstatsx-files-$GITHUB_REF.zip + files: default-hlstatsx-files-${{github.ref_name}}.zip env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}