Add cp command back, and upload the entire result directory instead of just the binary
This commit is contained in:
@@ -24,15 +24,10 @@ jobs:
|
|||||||
echo "Working dir: $(pwd)"
|
echo "Working dir: $(pwd)"
|
||||||
echo "Result symlink: $(readlink -f result)"
|
echo "Result symlink: $(readlink -f result)"
|
||||||
find result/ -type f
|
find result/ -type f
|
||||||
|
cp -rL result /home/nclack/builds/RadiantWave-$(date +%Y%m%d-%H%M%S)
|
||||||
# - name: Build
|
|
||||||
# run: |
|
|
||||||
# . /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
|
|
||||||
# nix build
|
|
||||||
# cp -rL result /home/nclack/builds/RadiantWave-$(date +%Y%m%d-%H%M%S)
|
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: RadiantWave
|
name: RadiantWave
|
||||||
path: result/bin/RadiantWave
|
path: result/
|
||||||
|
|||||||
Reference in New Issue
Block a user