Skip to content

Commit

Permalink
CI: Update all actions to latest version.
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosperate committed Dec 26, 2023
1 parent ef8b579 commit f54e904
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/deploy-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci-skip') && !contains(github.event.head_commit.message, 'skip-ci')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
- name: Give 2m30s for the docker image to start up QEMU and Raspberry Pi OS
run: sleep 150
- name: Executing remote ssh command 1
uses: appleboy/ssh-action@master
uses: appleboy/ssh-action@v1.0.0
with:
host: rpios
username: pi
Expand All @@ -73,7 +73,7 @@ jobs:
touch my_file.txt
df -h
- name: Executing remote ssh command 2 (check state permanence)
uses: appleboy/ssh-action@master
uses: appleboy/ssh-action@v1.0.0
with:
host: rpios
username: pi
Expand All @@ -98,7 +98,7 @@ jobs:
- name: Give 2m30s for the docker image to start up QEMU and Raspberry Pi OS
run: sleep 150
- name: Executing remote ssh command 1
uses: appleboy/ssh-action@master
uses: appleboy/ssh-action@v1.0.0
with:
host: rpios
username: pi
Expand All @@ -112,7 +112,7 @@ jobs:
touch my_file.txt
df -h
- name: Executing remote ssh command 2 (check state permanence)
uses: appleboy/ssh-action@master
uses: appleboy/ssh-action@v1.0.0
with:
host: rpios
username: pi
Expand All @@ -137,7 +137,7 @@ jobs:
- name: Give 2m30s for the docker image to start up QEMU and Raspberry Pi OS
run: sleep 150
- name: Executing remote ssh command 1
uses: appleboy/ssh-action@master
uses: appleboy/ssh-action@v1.0.0
with:
host: rpios
username: pi
Expand All @@ -151,7 +151,7 @@ jobs:
touch my_file.txt
df -h
- name: Executing remote ssh command 2 (check state permanence)
uses: appleboy/ssh-action@master
uses: appleboy/ssh-action@v1.0.0
with:
host: rpios
username: pi
Expand All @@ -163,7 +163,7 @@ jobs:
ls
test -f my_file.txt && echo "Previously created file exists."
- name: Check the Mu packages are present
uses: appleboy/ssh-action@master
uses: appleboy/ssh-action@v1.0.0
with:
host: rpios
username: pi
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ jobs:
name: Deploy versioned images
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
shell: bash
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
Expand Down

0 comments on commit f54e904

Please sign in to comment.