diff --git a/.github/workflows/dotnet-develop.yml b/.github/workflows/dotnet-develop.yml index 136dc70..7c5f2d6 100644 --- a/.github/workflows/dotnet-develop.yml +++ b/.github/workflows/dotnet-develop.yml @@ -20,24 +20,24 @@ jobs: - name: Restore env: - DOTNET_CLI_TELEMETRY_OPTOUT=true - DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true + DOTNET_CLI_TELEMETRY_OPTOUT: true + DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true run: | cd src/atlassian-downloader dotnet restore - name: Build env: - DOTNET_CLI_TELEMETRY_OPTOUT=true - DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true + DOTNET_CLI_TELEMETRY_OPTOUT: true + DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true run: | cd src/atlassian-downloader dotnet build --no-restore - name: Test env: - DOTNET_CLI_TELEMETRY_OPTOUT=true - DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true + DOTNET_CLI_TELEMETRY_OPTOUT: true + DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true run: | cd src/atlassian-downloader dotnet test --no-build --verbosity normal diff --git a/.github/workflows/dotnet-master.yml b/.github/workflows/dotnet-master.yml index 844f365..a09c330 100644 --- a/.github/workflows/dotnet-master.yml +++ b/.github/workflows/dotnet-master.yml @@ -17,24 +17,24 @@ jobs: - name: Restore env: - DOTNET_CLI_TELEMETRY_OPTOUT=true - DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true + DOTNET_CLI_TELEMETRY_OPTOUT: true + DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true run: | cd src/atlassian-downloader dotnet restore - name: Build env: - DOTNET_CLI_TELEMETRY_OPTOUT=true - DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true + DOTNET_CLI_TELEMETRY_OPTOUT: true + DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true run: | cd src/atlassian-downloader dotnet build --no-restore - name: Test env: - DOTNET_CLI_TELEMETRY_OPTOUT=true - DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true + DOTNET_CLI_TELEMETRY_OPTOUT: true + DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true run: | cd src/atlassian-downloader dotnet test --no-build --verbosity normal diff --git a/src/atlassian-downloader/build.bat b/src/atlassian-downloader/build.bat index 7ba2322..2f77f5e 100644 --- a/src/atlassian-downloader/build.bat +++ b/src/atlassian-downloader/build.bat @@ -1,3 +1,6 @@ +SET DOTNET_CLI_TELEMETRY_OPTOUT=true +SET DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true + dotnet.exe publish -r win7-x64 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=true -p:PublishReadyToRun=true dotnet.exe publish -r win7-x86 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=true -p:PublishReadyToRun=true dotnet.exe publish -r win81-arm --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=true -p:PublishReadyToRun=true diff --git a/src/atlassian-downloader/build.sh b/src/atlassian-downloader/build.sh index 28e874d..aa9197e 100755 --- a/src/atlassian-downloader/build.sh +++ b/src/atlassian-downloader/build.sh @@ -1,8 +1,11 @@ #!/bin/bash -dotnet publish -r win7-x64 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=true -p:PublishReadyToRun=true -dotnet publish -r win7-x86 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=true -p:PublishReadyToRun=true -dotnet publish -r win81-arm --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=true -p:PublishReadyToRun=true -dotnet publish -r win10-arm64 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=true -p:PublishReadyToRun=true +export DOTNET_CLI_TELEMETRY_OPTOUT=true +export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true + +dotnet publish -r win7-x64 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=true -p:PublishReadyToRun=false +dotnet publish -r win7-x86 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=true -p:PublishReadyToRun=false +dotnet publish -r win81-arm --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=true -p:PublishReadyToRun=false +dotnet publish -r win10-arm64 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=true -p:PublishSingleFile=true -p:PublishReadyToRun=false dotnet publish -r linux-x64 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=false -p:PublishSingleFile=false -p:PublishReadyToRun=false dotnet publish -r linux-musl-x64 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=false -p:PublishSingleFile=false -p:PublishReadyToRun=false dotnet publish -r osx-x64 --self-contained true --framework net5.0 --configuration Release -p:PublishTrimmed=false -p:PublishSingleFile=false -p:PublishReadyToRun=false \ No newline at end of file