diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 42a6d93..5667120 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,31 +26,31 @@ jobs: # Build win-x64 - name: Build win-x64 if: matrix.platform == 'windows-latest' - run: dotnet publish --configuration Release --self-contained -p:PublishSingleFile=true -r win10-x64 + run: dotnet publish --configuration Release --self-contained -p:PublishSingleFile=true -r win-x64 #- name: ZIP win-x64 # if: matrix.platform == 'windows-latest' - # run: 7z a -tzip artifacts/efmig-win-x64-Release.zip ./Efmig/bin/Release/net8.0/win10-x64/publish/* + # run: 7z a -tzip artifacts/efmig-win-x64-Release.zip ./Efmig/bin/Release/net8.0/win-x64/publish/* - name: Upload win-x64 artifacts if: matrix.platform == 'windows-latest' uses: actions/upload-artifact@v3 with: name: efmig-win-x64-Release - path: Efmig/bin/Release/net8.0/win10-x64/publish/ + path: Efmig/bin/Release/net8.0/win-x64/publish/ if-no-files-found: error # Build win-arm64 - name: Build win-arm64 if: matrix.platform == 'windows-latest' - run: dotnet publish --configuration Release --self-contained -p:PublishSingleFile=true -r win10-arm64 + run: dotnet publish --configuration Release --self-contained -p:PublishSingleFile=true -r win-arm64 #- name: ZIP win-arm64 # if: matrix.platform == 'windows-latest' - # run: 7z a -tzip artifacts/efmig-win-arm64-Release.zip ./Efmig/bin/Release/net8.0/win10-arm64/publish/* + # run: 7z a -tzip artifacts/efmig-win-arm64-Release.zip ./Efmig/bin/Release/net8.0/win-arm64/publish/* - name: Upload win-arm64 artifacts if: matrix.platform == 'windows-latest' uses: actions/upload-artifact@v3 with: name: efmig-win-arm64-Release - path: Efmig/bin/Release/net8.0/win10-arm64/publish/ + path: Efmig/bin/Release/net8.0/win-arm64/publish/ if-no-files-found: error # Build linux-x64 diff --git a/workflowgen.ts b/workflowgen.ts index 1164b2d..d9322c2 100644 --- a/workflowgen.ts +++ b/workflowgen.ts @@ -19,8 +19,8 @@ const platformTemplateGen = (name: string, rid: string, platform: string) => `; const extraSteps = [ - platformTemplateGen("win-x64", "win10-x64", "windows-latest"), - platformTemplateGen("win-arm64", "win10-arm64", "windows-latest"), + platformTemplateGen("win-x64", "win-x64", "windows-latest"), + platformTemplateGen("win-arm64", "win-arm64", "windows-latest"), platformTemplateGen("linux-x64", "linux-x64", "ubuntu-latest"), platformTemplateGen("linux-arm64", "linux-arm64", "ubuntu-latest"), platformTemplateGen("osx-x64", "osx-x64", "macos-latest"),