diff --git a/.github/workflows/windows_release.yml b/.github/workflows/windows_release.yml index 6e5b427..3605fab 100644 --- a/.github/workflows/windows_release.yml +++ b/.github/workflows/windows_release.yml @@ -11,12 +11,13 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Set env - run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - name: Setup Python uses: actions/setup-python@v5.0.0 with: python-version: '3.9' + - name: GitHub Tag + run: | + echo "Tag name from github.ref_name: ${{ github.ref_name }}" - name: Build run: | echo "Venv setup" @@ -31,10 +32,10 @@ jobs: .\build_win.bat - name: Zipping run: | - echo "Zipping to Blender_Launcher_${{ env.RELEASE_VERSION }}_Windows_x64.zip" - Compress-Archive -Path .\dist\release -DestinationPath Blender_Launcher_${{ env.RELEASE_VERSION }}_Windows_x64.zip + echo "Zipping to Blender_Launcher_${{ github.ref_name }}_Windows_x64.zip" + Compress-Archive -Path ".\dist\release\Blender Launcher.exe" -DestinationPath Blender_Launcher_${{ github.ref_name }}_Windows_x64.zip - name: Release uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') with: - files: ./Blender_Launcher_${{ env.RELEASE_VERSION }}_Windows_x64.zip \ No newline at end of file + files: ./Blender_Launcher_${{ github.ref_name }}_Windows_x64.zip \ No newline at end of file