diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index 023ed81..3c72266 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -2,9 +2,8 @@ name: Build APK on: push: - branches: - - main - - testing + tags: + - "v*-test" env: GODOT_VERSION: 4.1.3 @@ -52,10 +51,6 @@ jobs: unzip -q ./templates/android_source.zip -d ./android/build/ rm ./templates/android_source.zip - - name: Test1 - run: | - cat ~/.config/godot/editor_settings-4.tres - - name: export game id: export # Use latest version (see releases for all versions) @@ -67,14 +62,16 @@ jobs: export_debug: true relative_project_path: ./ archive_output: true - verbose: true - - - name: Test2 - run: | - cat ~/.config/godot/editor_settings-4.tres - name: Upload APK uses: actions/upload-artifact@v2 with: name: immersive-home-debug path: ${{ steps.export.outputs.archive_directory }} + + - name: create release + uses: ncipollo/release-action@v1.11.2 + with: + token: ${{ secrets.GITHUB_TOKEN }} + generateReleaseNotes: true + artifacts: ${{ steps.export.outputs.archive_directory }}/* # Added "/*" at the end is glob pattern match for this action