Skip to content

Commit

Permalink
Update publish-dotnet-binaries.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigoramosrs authored Jan 15, 2024
1 parent 8b5f678 commit f649738
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish-dotnet-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
- name: Compile binaries
run: |
RUNTIMES=("linux-x64","linux-arm64")
RUNTIMES=${RUNTIMES//,/ }
mkdir build
mkdir release
dotnet restore ./src/jsunmap.sln
Expand All @@ -62,7 +63,7 @@ jobs:
echo "building $RUNTIME"
dotnet publish ./src/jsunmap.csproj --configuration Release --self-contained --runtime $RUNTIME --verbosity quiet -p:PublishTrimmed=true -o ./build/$RUNTIME /p:WarningLevel=0
zip -r ./release/JsUnMap-${{ github.run_number }}-$RUNTIME.zip ./build/$RUNTIME
}
done
ls ./release/
- name: Upload artifact
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit f649738

Please sign in to comment.