From 95bd5d3c473d81a035c1a3d0ac3fa08038d3a018 Mon Sep 17 00:00:00 2001 From: Miepee <38186597+Miepee@users.noreply.github.com> Date: Sun, 24 Jul 2022 22:37:09 +0200 Subject: [PATCH] pls fix action builds --- .github/workflows/main.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7aac1d3..a406454 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,10 +32,10 @@ jobs: with: dotnet-version: 6.0.x - name: Restore dependencies - working-directory: ./AM2RPortHelper + working-directory: ./AM2RPortHelperCLI run: dotnet restore - name: Build - working-directory: ./AM2RPortHelper + working-directory: ./AM2RPortHelperCLI run: dotnet publish ${{ matrix.COMMAND }} -c "${{ matrix.configuration }}" # Steps for uploading artifacts. - name: Zip to Archive @@ -56,12 +56,15 @@ jobs: - os: ubuntu-latest COMMAND: AM2RPortHelperGUI.Gtk.csproj -p:PublishSingleFile=true -p:DebugType=embedded -r linux-x64 --no-self-contained ARTIFACT: AM2RPortHelperGUI.Gtk/bin/Release/net6.0/linux-x64/publish/ + DIR: AM2RPortHelperGUI.Gtk - os: macOS-latest COMMAND: AM2RPortHelperGUI.Mac.csproj -r osx-x64 --no-self-contained ARTIFACT: AM2RPortHelperGUI.Mac/bin/Release/net6.0/osx-x64/publish + DIR: AM2RPortHelperGUI.Mac - os: windows-latest COMMAND: AM2RPortHelperGUI.Wpf.csproj -p:PublishSingleFile=true -p:DebugType=embedded -r win-x86 --no-self-contained ARTIFACT: AM2RPortHelperGUI.Wpf\bin\Release\net6.0\win-x86\ + DIR: AM2RPortHelperGUI.Wpf runs-on: ${{ matrix.os }} @@ -72,10 +75,10 @@ jobs: with: dotnet-version: 6.0.x - name: Restore dependencies - working-directory: ./AM2RPortHelper + working-directory: ./${{ matrix.DIR }} run: dotnet restore - name: Build - working-directory: ./AM2RPortHelper + working-directory: ./${{ matrix.DIR }} run: dotnet publish ${{ matrix.COMMAND }} -c "${{ matrix.configuration }}" # Steps for uploading artifacts. - name: Zip to Archive