From ffefaee9c4aad037dfc500ce34039c79cc92b5dd Mon Sep 17 00:00:00 2001 From: Jonathan Dahan Date: Mon, 9 Dec 2024 15:40:47 -0500 Subject: [PATCH] release: update github action dependencies --- .github/workflows/rust.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 481b694..95a9852 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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