diff options
| author | sigoden <sigoden@gmail.com> | 2024-04-04 08:04:16 +0000 |
|---|---|---|
| committer | sigoden <sigoden@gmail.com> | 2024-04-04 08:04:16 +0000 |
| commit | f3551c2efac1abc6c52cb7a5663572ca751c41c1 (patch) | |
| tree | 9551eb3d32dbebd3395144393761f3c8b5a3b2cb /.github | |
| parent | 84695b62c696efd29cbf1c5c891f1fbdcbfb11ae (diff) | |
| download | aichat-f3551c2efac1abc6c52cb7a5663572ca751c41c1.tar.gz | |
chore: update ci
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yaml | 2 | ||||
| -rw-r--r-- | .github/workflows/release.yaml | 8 |
2 files changed, 4 insertions, 6 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b606b7a..1f06695 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -29,7 +29,7 @@ jobs: RUSTFLAGS: --deny warnings steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Rust Toolchain Components uses: dtolnay/rust-toolchain@stable diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5b32d14..40da570 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -52,7 +52,7 @@ jobs: BUILD_CMD: cargo steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Check Tag id: check-tag @@ -130,14 +130,12 @@ jobs: fi - name: Publish Archive - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 if: ${{ startsWith(github.ref, 'refs/tags/') }} with: draft: false files: ${{ steps.package.outputs.archive }} prerelease: ${{ steps.check-tag.outputs.rc == 'true' }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} publish-crate: name: Publish to crates.io @@ -145,7 +143,7 @@ jobs: runs-on: ubuntu-latest needs: release steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable |
