diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index efb2c6f..56bff12 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,7 +10,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-22.04, windows-2022, macos-14] + os: [ubuntu-22.04, windows-2022, macos-15] arch: [x64] include: - os: ubuntu-22.04 @@ -23,11 +23,6 @@ jobs: if: runner.os == 'linux' && matrix.arch == 'arm64' run: sudo apt install -y binutils-aarch64-linux-gnu - - name: Use Python 3.11 - uses: actions/setup-python@v3 - with: - python-version: '3.11' - - name: Checkout uses: actions/checkout@v3 @@ -44,10 +39,9 @@ jobs: run: node scripts/test.js - name: Upload - uses: actions/upload-artifact@v2.2.4 + uses: actions/upload-artifact@v4 with: - path: | - out/Release/gn_*.zip + path: out/Release/gn_*.zip retention-days: 1 release: @@ -57,12 +51,12 @@ jobs: steps: - name: Download Files - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 - name: Release - uses: softprops/action-gh-release@v0.1.15 + uses: ncipollo/release-action@v1 with: - draft: true name: build-gn ${{ github.ref_name }} body: '## Changelog' - files: artifact/*.zip + artifacts: artifact/*.zip + artifactErrorsFailBuild: true