From f0a419bb4c04af2a3540014681922a87cd0109e7 Mon Sep 17 00:00:00 2001 From: illusion0001 <37698908+illusion0001@users.noreply.github.com> Date: Tue, 11 Jun 2024 23:43:17 -0500 Subject: [PATCH] Update rpcs3.yml --- .github/workflows/rpcs3.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/rpcs3.yml b/.github/workflows/rpcs3.yml index b4f6944e48f0..ab82018a6ba2 100644 --- a/.github/workflows/rpcs3.yml +++ b/.github/workflows/rpcs3.yml @@ -124,3 +124,26 @@ jobs: with: name: RPCS3 for Windows path: ${{ github.workspace }}/build + + push_release: + if: github.event_name == 'push' + needs: [ Linux_Build, Windows_Build ] + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - name: Checkout + uses: actions/checkout@main + + - name: Download artifacts + uses: actions/download-artifact@main + with: + merge-multiple: true + path: artifact + + - 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 }}