Release: 11/09/2024 - TectonicUnits v2 #7
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
name: Create a GitHub Release for the new version of Tektonik | |
on: | |
pull_request: | |
types: | |
- closed | |
jobs: | |
create_release: | |
permissions: write-all | |
runs-on: ubuntu-latest | |
if: "github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main'" | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
- name: Create the GitHub Release | |
uses: ncipollo/release-action@v1 | |
with: | |
name: ${{ github.event.pull_request.title }} | |
body: ${{ github.event.pull_request.body }} | |
tag: v${{ github.event.pull_request.number }} | |
commit: ${{ github.event.pull_request.merge_commit_sha }} | |
makeLatest: true |