File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 with :
2323 name : wget
2424 path : /root/wget
25+ build-aarch64 :
26+ name : Build the wget binary aarch64
27+ runs-on : ubuntu-latest
28+ container :
29+ image : ghcr.io/toltec-dev/base:v4.0
30+ steps :
31+ - name : Checkout the Git repository
32+ uses : actions/checkout@v4
33+ - name : Build the binary
34+ run : |
35+ bash -c 'source /opt/x-tools/switch-aarch64.sh; ./build'
36+ mv /root/wget /root/wget-aarch64
37+ - name : Store the resulting artifact
38+ uses : actions/upload-artifact@v4
39+ with :
40+ name : wget-aarch64
41+ path : /root/wget-aarch64
2542 release :
2643 name : Publish the wget binary
2744 runs-on : ubuntu-latest
3249 uses : actions/download-artifact@v4
3350 with :
3451 name : wget
52+ - name : Fetch the built aarch64 binary
53+ uses : actions/download-artifact@v4
54+ with :
55+ name : wget-aarch64
3556 - name : Transfer packages and index
3657 run : |
3758 mkdir -p private
4465 -i private/id_rsa \
4566 -o UserKnownHostsFile=private/known_hosts \
4667 wget "${{ secrets.REMOTE_SSH }}":/srv/toltec/thirdparty/bin/wget-"$version"
68+ scp -P "${{ secrets.SSH_PORT }}" \
69+ -i private/id_rsa \
70+ -o UserKnownHostsFile=private/known_hosts \
71+ wget-aarch64 "${{ secrets.REMOTE_SSH }}":/srv/toltec/thirdparty/bin/wget-aarch64-"$version"
You can’t perform that action at this time.
0 commit comments