Update release action to run on every commit

This commit is contained in:
PabloMK7 2024-03-08 14:22:37 +01:00
parent 8433057909
commit 6f97d15c35

View file

@ -2,7 +2,7 @@ name: citra-build
on:
push:
branches: [ "*" ]
branches: [ "master" ]
tags: [ "*" ]
pull_request:
branches: [ master ]
@ -250,7 +250,7 @@ jobs:
release:
runs-on: ubuntu-latest
needs: [windows, linux, macos-universal, android, source]
if: ${{ startsWith(github.ref, 'refs/tags/') }}
if: ${{ startsWith(github.ref, 'refs/heads/master') && github.repository == 'PabloMK7/citra' }}
steps:
- uses: actions/download-artifact@v4
- name: Create release