Skip to content

Commit

Permalink
Update rpcs3.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
illusion0001 authored Jun 12, 2024
1 parent 207d7d1 commit 58144f4
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/rpcs3.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
name: Build RPCS3

on:
push:
pull_request:
workflow_dispatch:
on: [ push, pull_request, workflow_dispatch ]

jobs:
Linux_Build:
runs-on: ubuntu-latest
#timeout-minutes: 180
strategy:
matrix:
compiler: [clang, gcc]
Expand Down Expand Up @@ -54,7 +50,6 @@ jobs:

Windows_Build:
runs-on: windows-latest
#timeout-minutes: 180
env:
COMPILER: msvc
QT_VER_MAIN: '6'
Expand Down Expand Up @@ -127,7 +122,9 @@ jobs:
path: ${{ github.workspace }}/build

push_release:
if: github.event_name == 'push'
if: |
github.ref_name == 'master' &&
github.event_name == 'push'
needs: [ Linux_Build, Windows_Build ]
runs-on: ubuntu-latest
permissions:
Expand All @@ -145,6 +142,4 @@ jobs:
- name: Create Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
ls artifact
gh release create ${{ GITHUB.RUN_NUMBER }} artifact/*.* --target ${{ GITHUB.SHA }} -t ${{ GITHUB.RUN_NUMBER }}
run: gh release create ${{ GITHUB.RUN_NUMBER }} artifact/*.* --target ${{ GITHUB.SHA }} -t ${{ GITHUB.RUN_NUMBER }}

0 comments on commit 58144f4

Please sign in to comment.