Skip to content

Commit

Permalink
ci: make release after uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
benfdking committed Aug 14, 2024
1 parent da2cbf4 commit fa3b597
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,22 @@ jobs:
draft: true
files: |
sqruff-*
convert_release_to_not_draft:
name: Convert release to not draft
runs-on: ubuntu-latest
permissions: write-all
needs:
- release
- release-vsix
steps:
uses: eregon/publish-release@v1
with:
release_id: ${{ github.event.release.id }}
update-homebrew-formula:
name: Update Homebrew Formula
runs-on: ubuntu-latest
needs: release
needs:
- convert_release_to_not_draft
permissions: write-all
env:
HOMEBREW_ACCESS_TOKEN: ${{ secrets.HOMEBREW_ACCESS_TOKEN }}
Expand All @@ -121,7 +133,8 @@ jobs:
publish-to-cargo:
name: Publish to Cargo
runs-on: ubuntu-latest
needs: [release, check-versions-match]
needs:
- convert_release_to_not_draft
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
Expand Down

0 comments on commit fa3b597

Please sign in to comment.