File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ jobs:
1414 image : ghcr.io/toltec-dev/base:v1.2
1515 steps :
1616 - name : Checkout the Git repository
17- uses : actions/checkout@v2
17+ uses : actions/checkout@v4
1818 - name : Build the binary
1919 run : ./build
2020 - name : Store the resulting artifact
21- uses : actions/upload-artifact@v2
21+ uses : actions/upload-artifact@v4
2222 with :
2323 name : wget
2424 path : /root/wget
2929 if : startsWith(github.ref, 'refs/tags/v')
3030 steps :
3131 - name : Fetch the built binary
32- uses : actions/download-artifact@v2
32+ uses : actions/download-artifact@v4
3333 with :
3434 name : wget
3535 - name : Transfer packages and index
4040 echo "${{ secrets.SSH_KNOWN_HOSTS }}" > private/known_hosts
4141 chmod 600 private/*
4242 version="$(echo "${{ github.ref }}" | cut -d / -f 3)"
43- scp -i private/id_rsa -o UserKnownHostsFile=private/known_hosts \
44- wget "${{ secrets.REMOTE }}":/srv/toltec/thirdparty/bin/wget-"$version"
43+ scp -P "${{ secrets.SSH_PORT }}" \
44+ -i private/id_rsa \
45+ -o UserKnownHostsFile=private/known_hosts \
46+ wget "${{ secrets.REMOTE_SSH }}":/srv/toltec/thirdparty/bin/wget-"$version"
You can’t perform that action at this time.
0 commit comments