Revert "CI: Possible fix for self-contained builds" #67
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: [push] | |
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 |