feat: Track and expose latest confirmed tick (#518) #232
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 | |
| permissions: | |
| contents: write | |
| discussions: write | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| workflow_dispatch: | |
| jobs: | |
| release: | |
| name: Create draft release | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: Setup Godot | |
| uses: chickensoft-games/setup-godot@v1 | |
| with: | |
| version: 4.1.1 | |
| use-dotnet: false | |
| include-templates: true | |
| - name: Verify setup | |
| run: godot --version | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| - name: Setup mkdocs | |
| run: pip install mkdocs && pip install $(mkdocs get-deps) | |
| - name: Build | |
| run: sh/build.sh | |
| - name: Parse version | |
| id: version | |
| run: | | |
| sh/version.sh envvar >> "$GITHUB_OUTPUT" | |
| sh/version.sh | |
| - name: Delete draft release(s) | |
| uses: hugo19941994/[email protected] | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Release | |
| uses: softprops/action-gh-release@v1 | |
| with: | |
| name: ${{ steps.version.outputs.VERSION }} | |
| files: build/* | |
| draft: true | |
| prerelease: true |