fix(deps): update to HeadlessMc 2.8.0 (#6) #17
This file contains hidden or 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: Lifecycle | |
| "on": | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| types: | |
| - closed | |
| - opened | |
| - synchronize | |
| - reopened | |
| workflow_dispatch: | |
| inputs: | |
| ref: | |
| description: Git ref to checkout before build (i.e. my-feature-branch ) | |
| default: "main" | |
| concurrency: # FIXME: prevent release commit cancellation | |
| group: > | |
| ${{ github.workflow }}- | |
| ${{ github.event_name }}- | |
| ${{ github.event.inputs.ref || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| release-please: | |
| name: Release Please | |
| runs-on: ubuntu-latest | |
| outputs: | |
| release_created: ${{ steps.release-please.outputs.release_created }} | |
| tag_name: ${{ steps.release-please.outputs.tag_name }} | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| issues: write | |
| steps: | |
| - if: github.event_name == 'push' # TODO: explicit on push to main | |
| id: release-please | |
| name: Run Release Please | |
| uses: googleapis/release-please-action@a02a34c4d625f9be7cb89156071d8567266a2445 # v4 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} |