90
90
env :
91
91
COMPONENT : ${{ needs.eval-tag.outputs.component }}
92
92
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
95
95
- uses : actions/upload-artifact@v4
96
96
with :
97
97
name : x86_64-linux.${{ needs.eval-tag.outputs.component }}-image
@@ -140,12 +140,12 @@ jobs:
140
140
nix build .#packages.x86_64-linux."$COMPONENT" --accept-flake-config
141
141
if [[ "$COMPONENT" =~ uniond-release ]]
142
142
then
143
- mv result/bin/uniond "$COMPONENT"-x86_64-linux
143
+ cp result/bin/uniond "$COMPONENT"-x86_64-linux
144
144
elif [[ $ARCHIVE ]]
145
145
then
146
146
tar -zcf "$COMPONENT"-x86_64-linux result
147
147
else
148
- mv result/bin/"$COMPONENT" "$COMPONENT"-x86_64-linux
148
+ cp result/bin/"$COMPONENT" "$COMPONENT"-x86_64-linux
149
149
fi
150
150
- uses : actions/upload-artifact@v4
151
151
with :
@@ -171,12 +171,12 @@ jobs:
171
171
nix build .#packages.aarch64-linux."$COMPONENT" --accept-flake-config
172
172
if [[ "$COMPONENT" =~ uniond-release ]]
173
173
then
174
- mv result/bin/uniond "$COMPONENT"-aarch64-linux
174
+ cp result/bin/uniond "$COMPONENT"-aarch64-linux
175
175
elif [[ $ARCHIVE ]]
176
176
then
177
177
tar -zcf "$COMPONENT"-aarch64-linux result
178
178
else
179
- mv result/bin/"$COMPONENT" "$COMPONENT"-aarch64-linux
179
+ cp result/bin/"$COMPONENT" "$COMPONENT"-aarch64-linux
180
180
fi
181
181
- uses : actions/upload-artifact@v4
182
182
with :
0 commit comments