Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3346 revamp release component workflow to remove nixbuildnet #3575

Merged
Merged
Prev Previous commit
chore(ci): undo test changes
PoisonPhang committed Jan 18, 2025
commit 0f7743f06e7a4f34e6e397642b45cb36a244354d
8 changes: 4 additions & 4 deletions .github/workflows/release-component.yml
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ name: Release Component

on:
push:
# tags: ['*/v[0-9]+\.[0-9]+\.[0-9]+\-rc[0-9]+', '*/v[0-9]+\.[0-9]+\.[0-9]+']
tags: ['*/v[0-9]+\.[0-9]+\.[0-9]+\-rc[0-9]+', '*/v[0-9]+\.[0-9]+\.[0-9]+']

jobs:
eval-tag:
@@ -17,7 +17,7 @@ jobs:
steps:
- id: eval
env:
TAG: bundle-testnet-9/v0.25.0
TAG: ${{github.ref_name}}
run: |
component="${TAG%/*}"
case $component in
@@ -90,8 +90,8 @@ jobs:
env:
COMPONENT: ${{ needs.eval-tag.outputs.component }}
run: |
nix build .#packages.x86_64-linux."$COMPONENT"-image --accept-flake-config
cp -Lr result x86_64-linux."$COMPONENT"-image
nix build .#packages.x86_64-linux.\"$COMPONENT\"-image --accept-flake-config
cp -Lr result x86_64-linux.\"$COMPONENT\"-image
- uses: actions/upload-artifact@v4
with:
name: x86_64-linux.${{ needs.eval-tag.outputs.component }}-image