Skip to content

Commit

Permalink
Chore: update github actions (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
rlebran committed Jul 5, 2024
2 parents af9d209 + 6fda652 commit e8cef6e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 2

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/draft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -63,12 +63,11 @@ jobs:
- name: Create release
id: create_release
if: ${{ steps.existing_release.outputs.is_new == 'true' }}
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ steps.release_info.outputs.version }}
release_name: ${{ steps.release_info.outputs.version }}
body_path: ./draft-changes.md
name: ${{ steps.release_info.outputs.version }}
tag_name: ${{ steps.release_info.outputs.version }}
token: ${{ secrets.GITHUB_TOKEN }}
draft: true
prerelease: ${{ steps.release_info.outputs.is_prerelease }}
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 2

Expand Down

0 comments on commit e8cef6e

Please sign in to comment.