Skip to content

Commit bffd222

Browse files
authored
fix(ci): correct workflow instructions (#3974)
Tested workflow up to actually releasing the binaries/images: https://github.com/unionlabs/union/actions/runs/13713369159
2 parents e3f9fe8 + dac3aed commit bffd222

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/release-component.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ jobs:
9090
env:
9191
COMPONENT: ${{ needs.eval-tag.outputs.component }}
9292
run: |
93-
nix build .#packages.x86_64-linux.\"$COMPONENT\"-image --accept-flake-config
94-
cp -Lr result x86_64-linux.\"$COMPONENT\"-image
93+
nix build .#packages.x86_64-linux."$COMPONENT"-image --accept-flake-config
94+
cp -Lr result x86_64-linux."$COMPONENT"-image
9595
- uses: actions/upload-artifact@v4
9696
with:
9797
name: x86_64-linux.${{ needs.eval-tag.outputs.component }}-image
@@ -140,12 +140,12 @@ jobs:
140140
nix build .#packages.x86_64-linux."$COMPONENT" --accept-flake-config
141141
if [[ "$COMPONENT" =~ uniond-release ]]
142142
then
143-
mv result/bin/uniond "$COMPONENT"-x86_64-linux
143+
cp result/bin/uniond "$COMPONENT"-x86_64-linux
144144
elif [[ $ARCHIVE ]]
145145
then
146146
tar -zcf "$COMPONENT"-x86_64-linux result
147147
else
148-
mv result/bin/"$COMPONENT" "$COMPONENT"-x86_64-linux
148+
cp result/bin/"$COMPONENT" "$COMPONENT"-x86_64-linux
149149
fi
150150
- uses: actions/upload-artifact@v4
151151
with:
@@ -171,12 +171,12 @@ jobs:
171171
nix build .#packages.aarch64-linux."$COMPONENT" --accept-flake-config
172172
if [[ "$COMPONENT" =~ uniond-release ]]
173173
then
174-
mv result/bin/uniond "$COMPONENT"-aarch64-linux
174+
cp result/bin/uniond "$COMPONENT"-aarch64-linux
175175
elif [[ $ARCHIVE ]]
176176
then
177177
tar -zcf "$COMPONENT"-aarch64-linux result
178178
else
179-
mv result/bin/"$COMPONENT" "$COMPONENT"-aarch64-linux
179+
cp result/bin/"$COMPONENT" "$COMPONENT"-aarch64-linux
180180
fi
181181
- uses: actions/upload-artifact@v4
182182
with:

0 commit comments

Comments
 (0)