Skip to content

Commit

Permalink
Add actions workflow for PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed Jan 7, 2024
1 parent fd887f8 commit a0da74c
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build

on: [pull_request, workflow_dispatch]

jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- run: dotnet publish --configuration Release -r win-x64 --self-contained true

- name: Compress release
run: |
7z a ${{github.workspace}}/ActionsRelease.zip ${{github.workspace}}/UEVR/bin/Release/net6.0-windows/win-x64/publish/*.*
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: UEVR
path: ${{github.workspace}}/ActionsRelease.zip
if-no-files-found: error

0 comments on commit a0da74c

Please sign in to comment.