diff --git a/.github/workflows/wf-build-release-ci.yml b/.github/workflows/wf-build-release-ci.yml index 124e9b18..8bf0c577 100644 --- a/.github/workflows/wf-build-release-ci.yml +++ b/.github/workflows/wf-build-release-ci.yml @@ -6,7 +6,7 @@ on: workflow_dispatch: jobs: build: - runs-on: windows-2019 + runs-on: windows-latest env: ACTIONS_ALLOW_UNSECURE_COMMANDS: true steps: @@ -33,17 +33,17 @@ jobs: uses: actions/upload-artifact@v4 with: name: Compiled project - path: D:\a\qrcoder\qrcoder + path: ${{ github.workspace }} test: needs: build - runs-on: windows-2019 + runs-on: windows-latest steps: - name: Download artifacts uses: actions/download-artifact@v4 with: name: Compiled project - path: D:\a\qrcoder\qrcoder + path: ${{ github.workspace }} - name: Install additional .NET SDKs uses: actions/setup-dotnet@v4 @@ -139,7 +139,7 @@ jobs: pack-push-ci: needs: test - runs-on: windows-2019 + runs-on: windows-latest env: GH_PKG_SEC: ${{ secrets.GITHUB_TOKEN }} steps: @@ -147,7 +147,7 @@ jobs: uses: actions/download-artifact@v4 with: name: Compiled project - path: D:\a\qrcoder\qrcoder + path: ${{ github.workspace }} - name: Install additional .NET SDKs uses: actions/setup-dotnet@v4 @@ -193,7 +193,7 @@ jobs: clean: needs: [build, test, pack-push-ci] if: always() - runs-on: windows-2019 + runs-on: windows-latest steps: - name: Delete artifacts uses: GeekyEggo/delete-artifact@v5 diff --git a/.github/workflows/wf-build-release.yml b/.github/workflows/wf-build-release.yml index 1b898d11..ad7a5f21 100644 --- a/.github/workflows/wf-build-release.yml +++ b/.github/workflows/wf-build-release.yml @@ -7,7 +7,7 @@ on: required: true jobs: build: - runs-on: windows-2019 + runs-on: windows-latest env: ACTIONS_ALLOW_UNSECURE_COMMANDS: true steps: @@ -34,17 +34,17 @@ jobs: uses: actions/upload-artifact@v4 with: name: Compiled project - path: D:\a\qrcoder\qrcoder + path: ${{ github.workspace }} test: needs: build - runs-on: windows-2019 + runs-on: windows-latest steps: - name: Download artifacts uses: actions/download-artifact@v4 with: name: Compiled project - path: D:\a\qrcoder\qrcoder + path: ${{ github.workspace }} - name: Install additional .NET SDKs uses: actions/setup-dotnet@v4 @@ -139,7 +139,7 @@ jobs: pack-push-release: needs: test - runs-on: windows-2019 + runs-on: windows-latest env: GH_PKG_SEC: ${{ secrets.GITHUB_TOKEN }} steps: @@ -147,7 +147,7 @@ jobs: uses: actions/download-artifact@v4 with: name: Compiled project - path: D:\a\qrcoder\qrcoder + path: ${{ github.workspace }} - name: Install additional .NET SDKs uses: actions/setup-dotnet@v4 @@ -187,7 +187,7 @@ jobs: clean: needs: [build, test, pack-push-release] if: always() - runs-on: windows-2019 + runs-on: windows-latest steps: - name: Delete artifacts uses: GeekyEggo/delete-artifact@v5 diff --git a/.github/workflows/wf-build-test.yml b/.github/workflows/wf-build-test.yml index eca43ce8..64cc56d3 100644 --- a/.github/workflows/wf-build-test.yml +++ b/.github/workflows/wf-build-test.yml @@ -6,7 +6,7 @@ on: workflow_dispatch: jobs: build: - runs-on: windows-2019 + runs-on: windows-latest env: ACTIONS_ALLOW_UNSECURE_COMMANDS: true steps: @@ -33,17 +33,17 @@ jobs: uses: actions/upload-artifact@v4 with: name: Compiled project - path: D:\a\qrcoder\qrcoder + path: ${{ github.workspace }} test: needs: build - runs-on: windows-2019 + runs-on: windows-latest steps: - name: Download artifacts uses: actions/download-artifact@v4 with: name: Compiled project - path: D:\a\qrcoder\qrcoder + path: ${{ github.workspace }} - name: Install additional .NET SDKs uses: actions/setup-dotnet@v4 @@ -98,7 +98,7 @@ jobs: clean: needs: [build, test] if: always() - runs-on: windows-2019 + runs-on: windows-latest steps: - name: Delete artifacts uses: GeekyEggo/delete-artifact@v5 diff --git a/.github/workflows/wf-verify-formatting.yml b/.github/workflows/wf-verify-formatting.yml index acc21c54..3dbb788e 100644 --- a/.github/workflows/wf-verify-formatting.yml +++ b/.github/workflows/wf-verify-formatting.yml @@ -7,7 +7,9 @@ on: jobs: format: - runs-on: windows-2019 + runs-on: ubuntu-latest + env: + EnableWindowsTargeting: true steps: - uses: actions/checkout@v4 name: Checkout Code @@ -15,11 +17,7 @@ jobs: - name: Install additional .NET SDKs uses: actions/setup-dotnet@v4 with: - dotnet-version: | - 2.0.x - 5.0.x - 6.0.x - 8.0.x + dotnet-version: 8.0.x - name: Restore NuGet Packages run: dotnet restore