Skip to content

Commit

Permalink
(chore:) Add Publish Release job
Browse files Browse the repository at this point in the history
  • Loading branch information
SternXD authored Aug 17, 2024
1 parent 219a0ea commit d4d0dfc
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/buildwinrt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,27 @@ jobs:
with:
name: appx-${{ matrix.configuration }}
path: "AppPackages\\xbsx2\\xbsx2_${{ steps.extract_version.outputs.version }}_x64_Release AVX2_Test\\xbsx2_${{ steps.extract_version.outputs.version }}_x64_Release AVX2.appx"

Publish-release:
needs: build
name: Publish Release
if: github.ref == 'refs/heads/uwp'
permissions: write-all
runs-on: ubuntu-22.04

steps:
- name: Download Artifacts
uses: actions/[email protected]
with:
path: ./artifacts/

- name: Create a new release
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
automatic_release_tag: latest
prerelease: false
title: Latest XBSX2 Builds
files: |
./artifacts/appx-Release/AppPackages/xbsx2/xbsx2_${{ steps.extract_version.outputs.version }}_x64_Test/xbsx2_${{ steps.extract_version.outputs.version }}_x64.appx
./artifacts/appx-Release\ AVX2/AppPackages/xbsx2/xbsx2_${{ steps.extract_version.outputs.version }}_x64_Release\ AVX2_Test/xbsx2_${{ steps.extract_version.outputs.version }}_x64_Release\ AVX2.appx

0 comments on commit d4d0dfc

Please sign in to comment.