Skip to content

chore: Automate release #3

chore: Automate release

chore: Automate release #3

Workflow file for this run

name: Release
permissions:
content: write

Check failure on line 4 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 4, Col: 3): Unexpected value 'content'
discussions: write
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
release:
name: Create pre-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: Release
uses: softprops/action-gh-release@v1
with:
name: latest
files: build/*
draft: true