Skip to content

Commit

Permalink
Change build path in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Ale32bit committed Mar 18, 2023
1 parent f782dbd commit 8121920
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,17 @@ jobs:
run: dotnet test --no-build --verbosity normal

- name: Publish for Windows x64
run: dotnet publish Capy64/Capy64.csproj -c Release --no-self-contained -a x64 --os win -p:PublishSingleFile=true -o publish/win-x64
run: dotnet publish Capy64/Capy64.csproj -c Release --no-self-contained -a x64 --os win -p:PublishSingleFile=true -o capy64-windows-x64

- name: Upload Windows x64 artifact
uses: actions/upload-artifact@v3.1.2
with:
name: Windows-x64
path: publish/win-x64/**
path: capy64-windows-x64/**
if-no-files-found: error

- name: Zip Windows x64
run: 7z a capy64-windows-x64.zip publish/win-x64/**
run: 7z a capy64-windows-x64.zip capy64-windows-x64/**

release-linux:
runs-on: ubuntu-latest
Expand All @@ -64,17 +64,17 @@ jobs:
run: dotnet test --no-build --verbosity normal

- name: Publish for Linux x64
run: dotnet publish Capy64/Capy64.csproj -c Release --no-self-contained -a x64 --os linux -p:PublishSingleFile=true -o publish/linux-x64
run: dotnet publish Capy64/Capy64.csproj -c Release --no-self-contained -a x64 --os linux -p:PublishSingleFile=true -o capy64-linux-x64

- name: Upload Linux x64 artifact
uses: actions/upload-artifact@v3.1.2
with:
name: Linux-x64
path: publish/linux-x64/**
path: capy64-linux-x64/**
if-no-files-found: error

- name: Zip Linux x64
run: 7z a capy64-linux-x64.zip publish/linux-x64/**
run: 7z a capy64-linux-x64.zip capy64-linux-x64/**

publish:
needs: [release-windows, release-linux]
Expand Down

0 comments on commit 8121920

Please sign in to comment.