fix(docs): clarify what printing a compiled program's output looks li… #191
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: Release | |
| on: | |
| push: | |
| branches: | |
| - master | |
| workflow_dispatch: | |
| inputs: | |
| type: | |
| description: Bump versions and trigger a new release. | |
| required: true | |
| default: prerelease | |
| options: | |
| - prerelease | |
| - release | |
| jobs: | |
| prepare-release: | |
| runs-on: ubuntu-latest | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.PAT }} | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| token: ${{ secrets.PAT }} | |
| - name: Install Knope | |
| uses: knope-dev/action@v2.0.0 | |
| with: | |
| version: 0.11.0 # Test before updating, breaking changes likely: https://github.com/knope-dev/action#install-latest-version | |
| - name: Configure Git | |
| run: | | |
| git config --global user.name "${{ github.triggering_actor }}" | |
| git config --global user.email "${{ github.triggering_actor}}@users.noreply.github.com" | |
| - name: Prepare Prerelease | |
| run: knope prerelease | |
| if: github.event_name == 'push' | |
| - name: Prepare Release | |
| run: knope ${{ inputs.type }} | |
| if: github.event_name == 'workflow_dispatch' |