Removed needs keyword #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Create release on GitHub when release branch is pushed | |
# | |
name: Release | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
outputs: | |
release-tag: ${{ steps.autotag.outputs.new-tag }} | |
release-url: ${{ steps.release.outputs.html_url }} | |
steps: | |
- name: Increment version tag | |
id: autotag | |
uses: phish108/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
with-v: true | |
- name: Create pre-release | |
id: release | |
uses: ncipollo/[email protected] | |
with: | |
generateReleaseNotes: true | |
makeLatest: false | |
prerelease: true | |
skipIfReleaseExists: true | |
tag: v${{ steps.autotag.outputs.new-tag }} |