diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4300f32..bff9653 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,6 +16,7 @@ jobs: - name: Compress archive run: tar -czf ${{ github.ref_name }}.tar.gz -C .build/apple/Products/Release chatty - name: Release + id: create-release uses: softprops/action-gh-release@v1 with: files: ${{ github.ref_name }}.tar.gz @@ -25,5 +26,6 @@ jobs: formula-name: chatty-cli homebrew-tap: polpielladev/homebrew-tap base-branch: main + download-url: ${{ fromJSON(steps.create-release.outputs.assets)[0].browser_download_url }} env: COMMITTER_TOKEN: ${{ secrets.CHATTY_COMMITTER_TOKEN }}