diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9f41987..df6292f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,11 +10,12 @@ jobs: build: runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Rust uses: actions-rs/toolchain@v1 @@ -30,13 +31,13 @@ jobs: if: matrix.os == 'ubuntu-latest' run: | sudo apt-get update - sudo apt-get install -y qt5-default + sudo apt-get install -y qtbase5-dev qt5-qmake qtchooser qtbase5-dev-tools - name: Set up Qt for macOS if: matrix.os == 'macos-latest' run: | brew install qt5 - echo "/usr/local/opt/qt/bin" >> $GITHUB_PATH + echo "$(brew --prefix qt5)/bin" >> $GITHUB_PATH - name: Set up Qt for Windows if: matrix.os == 'windows-latest' @@ -79,7 +80,7 @@ jobs: shell: bash - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: rtop-${{ matrix.os }} path: rtop-${{ matrix.os }}.* @@ -90,7 +91,7 @@ jobs: if: startsWith(github.ref, 'refs/tags/') steps: - name: Download all artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: artifacts @@ -120,3 +121,4 @@ jobs: done env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ github.token }}