diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e589cf5..5e56ba9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Add msbuild to PATH - uses: microsoft/setup-msbuild@v1.3 + uses: microsoft/setup-msbuild@v2 - name: Build run: | cmake . -B build -DCMAKE_BUILD_TYPE=Release -A ${{ matrix.platform.build }} @@ -35,7 +35,7 @@ jobs: Dotx64DbgTests.exe popd - name: Upload artifacts (CI) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: dotx64Dbg-${{ runner.os }}-${{ matrix.platform.arch }} path: bin/ @@ -46,7 +46,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Fetch artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: artifacts - name: Display structure of downloaded files @@ -72,22 +72,22 @@ jobs: find ./package -type f -name '*.exp' -delete find ./package -type f -name '*.ilk' -delete - name: Upload package (CI) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: dotx64dbg path: package if-no-files-found: error - name: Compress package - uses: papeloto/action-zip@v1 + uses: papeloto/action-zip@1379ea20d4c5705669ba81fd626dd01b1c738f26 # v1.2 if: ${{ startsWith(github.ref, 'refs/tags/') }} with: files: package/ dest: ${{ github.event.repository.name }}-${{ github.ref_name }}.zip - name: Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@d99959edae48b5ffffd7b00da66dcdb0a33a52ee # v2.0.2 if: ${{ startsWith(github.ref, 'refs/tags/') }} with: prerelease: ${{ !startsWith(github.ref, 'refs/tags/v') || contains(github.ref, '-pre') }} files: ${{ github.event.repository.name }}-${{ github.ref_name }}.zip env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}