Skip to content

Commit

Permalink
Upgrade GH CI steps (#357)
Browse files Browse the repository at this point in the history
* check helium-wallet prefix for wallet binary release

* Upgrade GH actions
  • Loading branch information
madninja authored May 15, 2024
1 parent f8f7948 commit 2bbeb44
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CI
on:
push:
branches: [master]
tags: ["v*"]
tags: ["helium-wallet-v*"]
pull_request:
branches: [master]

Expand All @@ -19,12 +19,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup | Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.11.0
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}

- name: Setup | Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup | Rust
uses: dtolnay/rust-toolchain@stable
Expand Down Expand Up @@ -54,12 +54,12 @@ jobs:

steps:
- name: Setup | Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.11.0
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}

- name: Setup | Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -118,24 +118,24 @@ jobs:
fi
- name: Build | Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.NAME }}
if-no-files-found: error
path: helium-wallet-*

release:
if: startsWith(github.ref, 'refs/tags')
if: startsWith(github.ref, 'refs/tags/helium-wallet')
needs: [hygiene, build]
runs-on: ubuntu-latest
steps:
- name: Setup | Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.11.0
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}

- name: Setup | Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: helium-wallet-*

Expand Down

0 comments on commit 2bbeb44

Please sign in to comment.