Browse Source

✂ Actions: Disable trimming due to dotnet/sdk#14261

pull/3073/head
database64128 3 years ago
parent
commit
27d56c65b1
No known key found for this signature in database GPG Key ID: 1CA27546BEDB8B01
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      .github/workflows/build.yml
  2. +2
    -2
      .github/workflows/release.yml

+ 2
- 2
.github/workflows/build.yml View File

@@ -33,9 +33,9 @@ jobs:
- name: Publish framework-dependent
run: dotnet publish Shadowsocks.WPF -c Release --no-restore
# - name: Publish self-contained for Windows ARM64
# run: dotnet publish Shadowsocks.WPF -c Release -p:PublishTrimmed=true -r win-arm64 --self-contained
# run: dotnet publish Shadowsocks.WPF -c Release -r win-arm64 --self-contained
- name: Publish self-contained for Windows x64
run: dotnet publish Shadowsocks.WPF -c Release -p:PublishTrimmed=true -r win-x64 --self-contained
run: dotnet publish Shadowsocks.WPF -c Release -r win-x64 --self-contained
# Upload
# - name: Upload artifacts for Windows ARM64
# uses: actions/upload-artifact@v2


+ 2
- 2
.github/workflows/release.yml View File

@@ -22,9 +22,9 @@ jobs:
- name: Publish framework-dependent
run: dotnet publish Shadowsocks.WPF -c Release --no-restore
# - name: Publish self-contained for Windows ARM64
# run: dotnet publish Shadowsocks.WPF -c Release -p:PublishTrimmed=true -r win-arm64 --self-contained
# run: dotnet publish Shadowsocks.WPF -c Release -r win-arm64 --self-contained
- name: Publish self-contained for Windows x64
run: dotnet publish Shadowsocks.WPF -c Release -p:PublishTrimmed=true -r win-x64 --self-contained
run: dotnet publish Shadowsocks.WPF -c Release -r win-x64 --self-contained
# Get version
- name: Get version
id: get_version


Loading…
Cancel
Save