diff --git a/.github/workflows/auto-release-on-merge.yml b/.github/workflows/auto-release-on-merge.yml index 785eb99..bad11ac 100644 --- a/.github/workflows/auto-release-on-merge.yml +++ b/.github/workflows/auto-release-on-merge.yml @@ -17,7 +17,7 @@ jobs: release_created: ${{ steps.check_create_release.outputs.release_created }} steps: - name: Checkout Code - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: ref: ${{ github.event.pull_request.merge_commit_sha }} @@ -46,7 +46,7 @@ jobs: build_and_upload: needs: prepare_release - if: needs.prepare_release.outputs.release_created == 'true' + if: needs.prepare_release.outputs.release_tag != '' name: Build and Upload Assets runs-on: ${{ matrix.os }} defaults: @@ -78,7 +78,7 @@ jobs: steps: - name: Checkout Code - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: ref: ${{ github.event.pull_request.merge_commit_sha }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7da5af0..0061829 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: asset_name: purecode.exe steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v5 - name: Install Rust uses: dtolnay/rust-toolchain@stable @@ -52,7 +52,7 @@ jobs: - name: Upload Artifact if: github.event_name == 'pull_request' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: ${{ matrix.artifact_name }} path: target/release/${{ matrix.asset_name }} diff --git a/Cargo.toml b/Cargo.toml index 9d41a48..01817db 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "purecode" -version = "0.2.0" +version = "0.2.1" edition = "2021" [dependencies]