feat: run gh action on pull request

This commit is contained in:
Theo Leuthardt 2025-03-13 16:28:22 +01:00 committed by GitHub
parent 875a5d45e3
commit 06431840b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,10 @@
name: Build and Release DinoGame
on:
pull_request:
branches:
- main
workflow_dispatch:
inputs:
question:
@ -116,7 +120,6 @@ jobs:
release:
needs: build
runs-on: ubuntu-latest
if: github.event.inputs.question == 'YES'
steps:
- name: Download All Artifacts
uses: actions/download-artifact@v4
@ -132,4 +135,4 @@ jobs:
draft: false
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}