Skip to content

Commit 6f84d2f

Browse files
committed
Update workflow secrets and action versions
1 parent deaf908 commit 6f84d2f

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff 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
@@ -29,7 +29,7 @@ jobs:
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
@@ -40,5 +40,7 @@ jobs:
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"

0 commit comments

Comments
 (0)