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+ source /opt/x-tools/switch-aarch64.sh
36+ ./build
37+ mv /root/wget /root/wget-aarch64
38+ - name : Store the resulting artifact
39+ uses : actions/upload-artifact@v4
40+ with :
41+ name : wget-aarch64
42+ path : /root/wget-aarch64
2543 release :
2644 name : Publish the wget binary
2745 runs-on : ubuntu-latest
3250 uses : actions/download-artifact@v4
3351 with :
3452 name : wget
53+ - name : Fetch the built aarch64 binary
54+ uses : actions/download-artifact@v4
55+ with :
56+ name : wget-aarch64
3557 - name : Transfer packages and index
3658 run : |
3759 mkdir -p private
4466 -i private/id_rsa \
4567 -o UserKnownHostsFile=private/known_hosts \
4668 wget "${{ secrets.REMOTE_SSH }}":/srv/toltec/thirdparty/bin/wget-"$version"
69+ scp -P "${{ secrets.SSH_PORT }}" \
70+ -i private/id_rsa \
71+ -o UserKnownHostsFile=private/known_hosts \
72+ wget-aarch64 "${{ secrets.REMOTE_SSH }}":/srv/toltec/thirdparty/bin/wget-aarch64-"$version"
You can’t perform that action at this time.
0 commit comments