diff --git a/.github/workflows/go-releaser.yml b/.github/workflows/go-releaser.yml index 78218b04..29ca0f6c 100644 --- a/.github/workflows/go-releaser.yml +++ b/.github/workflows/go-releaser.yml @@ -50,9 +50,6 @@ jobs: run: working-directory: inno_setup steps: - - name: Get the version - id: get_version - run: $env:VERSION = $env:GITHUB_REF -replace 'refs/tags/', '' - name: Checkout version-fox uses: actions/checkout@v3 - name: Get version-fox version @@ -61,7 +58,7 @@ jobs: with: github-token: NO_NEED result-encoding: string - script: return "${{ steps.get_version.outputs.VERSION }}".substring(1) + script: return "${{ github.ref }}".substring(11) - name: Install Inno Setup run: | curl --retry 10 --retry-all-errors -L -o installer.exe https://jrsoftware.org/download.php/is.exe