Skip to content

Commit

Permalink
Update CI (#1510)
Browse files Browse the repository at this point in the history
  • Loading branch information
AurevoirXavier authored Jun 4, 2024
1 parent 4ea2895 commit 198ffa0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/notify-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
push:
tags:
- "v*"
- "pango*"
- "koi*"

jobs:
notify-mainnet:
Expand All @@ -21,7 +21,7 @@ jobs:
notify-testnet:
name: Notify testnet
if: startsWith(github.ref, 'refs/tags/pango')
if: startsWith(github.ref, 'refs/tags/koi')
runs-on: ubuntu-latest
steps:
- name: Notify
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
tags:
- "v*"
- "pango*"
- "koi*"

env:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
enable_tar_bz2: ${{ matrix.node.bz2 }}
skip-build: ${{ env.SKIP_BUILD }}
- name: Build testnet node
if: ${{ startsWith(github.ref, 'refs/tags/pango') && (matrix.node.network == 'testnet') }}
if: ${{ startsWith(github.ref, 'refs/tags/koi') && (matrix.node.network == 'testnet') }}
uses: ./.github/actions/build
with:
features: ${{ matrix.node.features }}
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
run: |
SKIP_BUILD=${{ env.SKIP_BUILD }}
IS_MAINNET=${{ matrix.runtime.type == 'mainnet' && startsWith(github.ref, 'refs/tags/v') }}
IS_TESTNET=${{ matrix.runtime.type == 'testnet' && startsWith(github.ref, 'refs/tags/pango') }}
IS_TESTNET=${{ matrix.runtime.type == 'testnet' && startsWith(github.ref, 'refs/tags/koi') }}
echo "IS_MAINNET='$IS_MAINNET'" >> $GITHUB_ENV
echo "IS_TESTNET='$IS_TESTNET'" >> $GITHUB_ENV
Expand Down Expand Up @@ -284,4 +284,4 @@ jobs:
deploy/*
generate_release_notes: true
token: ${{ secrets.GITHUB_TOKEN }}
prerelease: ${{ startsWith(github.ref, 'refs/tags/pango') }}
prerelease: ${{ startsWith(github.ref, 'refs/tags/koi') }}

0 comments on commit 198ffa0

Please sign in to comment.