diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ce53dd2..eb1b9c0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: - { target: x86_64-pc-windows-msvc, os: windows-latest, suffix: .zip } runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Rust shell: bash run: | @@ -48,7 +48,7 @@ jobs: } Compress-Archive -Path ${{ matrix.target }} -DestinationPath ${{ matrix.target }}.zip - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: ${{ matrix.target }} path: ${{ matrix.target }}${{ matrix.suffix }} @@ -58,8 +58,8 @@ jobs: runs-on: ubuntu-latest needs: [build] steps: - - uses: actions/checkout@v3 - - uses: actions/download-artifact@v3 + - uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 with: path: artifacts - run: ls -R ./artifacts @@ -68,11 +68,11 @@ jobs: run: echo "CURRENT_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV - id: changelog-reader - uses: mindsers/changelog-reader-action@v2.2.2 + uses: mindsers/changelog-reader-action@v2.2.3 with: version: ${{ (github.ref_type == 'tag' && github.ref_name) || 'Unreleased' }} - - uses: softprops/action-gh-release@v1 + - uses: softprops/action-gh-release@v2 with: tag_name: ${{ steps.changelog-reader.outputs.version }} name: ${{ (github.ref_type == 'tag' && steps.changelog-reader.outputs.version) || format('Prereleased {0}', env.CURRENT_DATE) }}