doc: Redirect dead link (error 404) to proper documentation link (#183) #69
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: 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 | |
- name: Verify setup | |
run: godot --version | |
- 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 |