Skip to content

Commit

Permalink
release: update github action dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Dahan committed Dec 9, 2024
1 parent 7b8532b commit ffefaee
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,26 @@ on:
push:
branch:
- main
tags:
- "*.*.*"

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: test
run: cargo test

release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
if: startsWith(github.ref, 'refs/tags/')
- name: checkout
uses: actions/checkout@v4
- name: build
run: cargo build --release
- uses: softprops/action-gh-release@v1
- name: release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: target/release/zr

0 comments on commit ffefaee

Please sign in to comment.