diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 5d88b85..3012cea 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -1,8 +1,7 @@ on: push: - branches: - - main - - release + tags: + - "v*" jobs: # job id, can be anything export_game: @@ -28,13 +27,13 @@ jobs: godot_export_templates_download_url: https://downloads.tuxfamily.org/godotengine/4.2/Godot_v4.2-stable_export_templates.tpz relative_project_path: ./ archive_output: true + cache: true # This release action has worked well for me. However, you can most likely use any release action of your choosing. # https://github.com/ncipollo/release-action - name: create release uses: https://github.com/ncipollo/release-action@v1.12.0 with: - token: ${{ secrets.GITHUB_TOKEN }} generateReleaseNotes: true tag: ${{ github.ref_name }} artifacts: ${{ steps.export.outputs.archive_directory }}/* \ No newline at end of file diff --git a/.gitignore b/.gitignore index 4709183..d35820f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ # Godot 4+ specific ignores .godot/ +*.TMP