diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6030bfc..adeea54 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,23 +15,23 @@ jobs: with: fetch-depth: 1 - - uses: actions/setup-dotnet@v3 + - uses: actions/setup-dotnet@main with: dotnet-version: '6.0.x' # SDK Version to use. - - run: dotnet publish -c release -r linux-x64 --self-contained + - run: dotnet publish -c release -r linux-x64 --self-contained -p:PublishTrimmed=true -p:PublishSingleFile=true working-directory: ./dotnet-wtrace - - run: dotnet publish -c release -r osx-x64 --self-contained + - run: dotnet publish -c release -r osx-x64 --self-contained -p:PublishTrimmed=true -p:PublishSingleFile=true working-directory: ./dotnet-wtrace - - run: dotnet publish -c release -r win-x64 --self-contained + - run: dotnet publish -c release -r win-x64 --self-contained -p:PublishTrimmed=true -p:PublishSingleFile=true working-directory: ./dotnet-wtrace - uses: actions/upload-artifact@main with: name: dotnet-wtrace-linux - path: dotnet-wtrace/bin/release/net6.0/linux-x64/publish/dotnet-wtrace.* + path: dotnet-wtrace/bin/release/net6.0/linux-x64/publish/dotnet-wtrace* - uses: actions/upload-artifact@main with: @@ -41,4 +41,4 @@ jobs: - uses: actions/upload-artifact@main with: name: dotnet-wtrace-osx - path: dotnet-wtrace/bin/release/net6.0/osx-x64/publish/dotnet-wtrace.* + path: dotnet-wtrace/bin/release/net6.0/osx-x64/publish/dotnet-wtrace* diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 47b4f6c..6c39a69 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: with: fetch-depth: 1 - - uses: actions/setup-dotnet@v3 + - uses: actions/setup-dotnet@main with: dotnet-version: '6.0.x' # SDK Version to use. @@ -32,19 +32,19 @@ jobs: NUGET_KEY: ${{ secrets.NUGET_KEY }} working-directory: ./dotnet-wtrace/bin/release - - run: dotnet publish -c release -r linux-x64 --self-contained + - run: dotnet publish -c release -r linux-x64 --self-contained -p:PublishTrimmed=true -p:PublishSingleFile=true working-directory: ./dotnet-wtrace - - run: dotnet publish -c release -r osx-x64 --self-contained + - run: dotnet publish -c release -r osx-x64 --self-contained -p:PublishTrimmed=true -p:PublishSingleFile=true working-directory: ./dotnet-wtrace - - run: dotnet publish -c release -r win-x64 --self-contained + - run: dotnet publish -c release -r win-x64 --self-contained -p:PublishTrimmed=true -p:PublishSingleFile=true working-directory: ./dotnet-wtrace - uses: actions/upload-artifact@main with: name: dotnet-wtrace-linux - path: dotnet-wtrace/bin/release/net6.0/linux-x64/publish/dotnet-wtrace.* + path: dotnet-wtrace/bin/release/net6.0/linux-x64/publish/dotnet-wtrace* - uses: actions/upload-artifact@main with: @@ -54,4 +54,4 @@ jobs: - uses: actions/upload-artifact@main with: name: dotnet-wtrace-osx - path: dotnet-wtrace/bin/release/net6.0/osx-x64/publish/dotnet-wtrace.* + path: dotnet-wtrace/bin/release/net6.0/osx-x64/publish/dotnet-wtrace* diff --git a/dotnet-wtrace/dotnet-wtrace.fsproj b/dotnet-wtrace/dotnet-wtrace.fsproj index 0bb0563..1b9cc81 100644 --- a/dotnet-wtrace/dotnet-wtrace.fsproj +++ b/dotnet-wtrace/dotnet-wtrace.fsproj @@ -13,8 +13,6 @@ en true dotnet-wtrace - true - true