Skip to content

Commit

Permalink
fix(ci): correct workflow instructions (#3974)
Browse files Browse the repository at this point in the history
Tested workflow up to actually releasing the binaries/images:
https://github.com/unionlabs/union/actions/runs/13713369159
  • Loading branch information
PoisonPhang authored Mar 7, 2025
2 parents e3f9fe8 + dac3aed commit bffd222
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release-component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -140,12 +140,12 @@ jobs:
nix build .#packages.x86_64-linux."$COMPONENT" --accept-flake-config
if [[ "$COMPONENT" =~ uniond-release ]]
then
mv result/bin/uniond "$COMPONENT"-x86_64-linux
cp result/bin/uniond "$COMPONENT"-x86_64-linux
elif [[ $ARCHIVE ]]
then
tar -zcf "$COMPONENT"-x86_64-linux result
else
mv result/bin/"$COMPONENT" "$COMPONENT"-x86_64-linux
cp result/bin/"$COMPONENT" "$COMPONENT"-x86_64-linux
fi
- uses: actions/upload-artifact@v4
with:
Expand All @@ -171,12 +171,12 @@ jobs:
nix build .#packages.aarch64-linux."$COMPONENT" --accept-flake-config
if [[ "$COMPONENT" =~ uniond-release ]]
then
mv result/bin/uniond "$COMPONENT"-aarch64-linux
cp result/bin/uniond "$COMPONENT"-aarch64-linux
elif [[ $ARCHIVE ]]
then
tar -zcf "$COMPONENT"-aarch64-linux result
else
mv result/bin/"$COMPONENT" "$COMPONENT"-aarch64-linux
cp result/bin/"$COMPONENT" "$COMPONENT"-aarch64-linux
fi
- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit bffd222

Please sign in to comment.