diff options
| -rw-r--r-- | .github/workflows/windows.yml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 8d853a0df..f0be2c703 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -90,7 +90,7 @@ jobs: # upload artifacts - name: Upload artifacts (exe) - if: matrix.os == 'windows-2022' + if: matrix.os == 'windows-2025' uses: actions/upload-artifact@v4 with: name: xmake-latest.${{env.RELEASE_NAME}}.exe @@ -104,21 +104,21 @@ jobs: path: artifacts/${{env.RELEASE_NAME}}/xmake.exe - name: Upload artifacts (zip) - if: matrix.os == 'windows-2022' + if: matrix.os == 'windows-2025' uses: actions/upload-artifact@v4 with: name: xmake-latest.${{ env.RELEASE_NAME }}.zip path: artifacts/${{env.RELEASE_NAME}}/xmake.zip - name: Upload artifacts (sha256) - if: matrix.os == 'windows-2022' + if: matrix.os == 'windows-2025' uses: actions/upload-artifact@v4 with: name: xmake-latest.${{ env.RELEASE_NAME }}.sha256 path: artifacts/${{env.RELEASE_NAME}}/shafile - name: Upload artifacts (bundle) - if: matrix.os == 'windows-2022' + if: matrix.os == 'windows-2025' uses: actions/upload-artifact@v4 with: name: xmake-bundle-latest.${{env.RELEASE_NAME}}.exe @@ -133,7 +133,7 @@ jobs: uses: WyriHaximus/github-action-get-previous-tag@master - name: Upload artifacts to lastest release - if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev') && matrix.os == 'windows-2022' + if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev') && matrix.os == 'windows-2025' uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} @@ -143,7 +143,7 @@ jobs: overwrite: true - name: Upload artifacts to lastest release - if: github.ref == 'refs/heads/master' && matrix.os == 'windows-2022' + if: github.ref == 'refs/heads/master' && matrix.os == 'windows-2025' uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} @@ -154,7 +154,7 @@ jobs: # publish release - name: Publish - if: github.event.action == 'published' && matrix.os == 'windows-2022' + if: github.event.action == 'published' && matrix.os == 'windows-2025' uses: actions/[email protected] env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -165,7 +165,7 @@ jobs: asset_content_type: application/zip - name: Publish - if: github.event.action == 'published' && matrix.os == 'windows-2022' + if: github.event.action == 'published' && matrix.os == 'windows-2025' uses: actions/[email protected] env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -176,7 +176,7 @@ jobs: asset_content_type: application/zip - name: Publish - if: github.event.action == 'published' && matrix.os == 'windows-2022' + if: github.event.action == 'published' && matrix.os == 'windows-2025' uses: actions/[email protected] env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -187,7 +187,7 @@ jobs: asset_content_type: application/zip - name: Publish - if: github.event.action == 'published' && matrix.os == 'windows-2022' + if: github.event.action == 'published' && matrix.os == 'windows-2025' uses: actions/[email protected] env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
