Skip to content

Commit

Permalink
ci: fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mhanberg committed Oct 2, 2023
1 parent 9f2e1c9 commit 9953825
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,20 @@ jobs:
- run: gh release edit ${{ needs.release.outputs.tag_name }} --draft=true --repo='elixir-tools/next-ls'

build:
needs: draft
needs: [release, draft]
if: ${{ needs.release.outputs.release_created }}
uses: elixir-tools/private-workflows/.github/workflows/release.yaml@main
with:
repo: elixir-tools/next-ls
tag: ${{ steps.release.outputs.tag_name }}
tag: ${{ needs.release.outputs.tag_name }}
secrets:
token: ${{ secrets.GITHUB_TOKEN }}

publish:
name: publish
needs: build
needs: [release, build]
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- run: gh release edit ${{ steps.release.outputs.tag_name }} --draft=false --repo='elixir-tools/next-ls'
- run: gh release edit ${{ needs.release.outputs.tag_name }} --draft=false --repo='elixir-tools/next-ls'

0 comments on commit 9953825

Please sign in to comment.