diff --git a/.github/workflows/homebrew.yml b/.github/workflows/homebrew.yml index 5b12dde8..70c63c01 100644 --- a/.github/workflows/homebrew.yml +++ b/.github/workflows/homebrew.yml @@ -38,8 +38,8 @@ jobs: - name: Get Source Archive shell: bash run: | - curl -sSLf -o source.tar.gz \ - https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/source.tar.gz + curl -sSLf -o source-${{ github.ref_name }}.tar.gz \ + https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/source-${{ github.ref_name }}.tar.gz - name: Verify Source Archive Checksum shell: bash @@ -58,7 +58,7 @@ jobs: with: formula-name: zrok formula-path: Formula/z/zrok.rb - download-url: https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/source.tar.gz + download-url: https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/source-${{ github.ref_name }}.tar.gz download-sha256: ${{ steps.source.outputs.sha256 }} homebrew-tap: ${{ vars.ZROK_BREW_TAP || 'Homebrew/homebrew-core' }} env: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f6340e28..410baee5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -272,7 +272,7 @@ jobs: - name: Fetch Source Archive shell: bash run: | - curl -sSLf -o ./automated-release-build/source.tar.gz \ + curl -sSLf -o ./automated-release-build/source-${{ github.ref_name }}.tar.gz \ https://api.github.com/repos/${{ github.repository }}/tarball/${{ github.ref_name }} - uses: actions/download-artifact@v4