Pin GitHub Actions version (#702)

This commit is contained in:
D. Robin 2020-07-25 17:06:55 +02:00 committed by GitHub
parent e13141d859
commit 54b884e7b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ jobs:
- centos-7-x64
- centos-8-x64
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2
- name: Setup doctl
uses: digitalocean/action-doctl@v2
@ -51,7 +51,7 @@ jobs:
- name: Setup remote server (Debian/Ubuntu)
if: steps.server_os.outputs.value == 'debian' || steps.server_os.outputs.value == 'ubuntu'
uses: appleboy/ssh-action@master
uses: appleboy/ssh-action@v0.1.2
with:
host: ${{ steps.server_ip.outputs.value }}
username: root
@ -60,7 +60,7 @@ jobs:
- name: Setup remote server (Fedora)
if: steps.server_os.outputs.value == 'fedora'
uses: appleboy/ssh-action@master
uses: appleboy/ssh-action@v0.1.2
with:
host: ${{ steps.server_ip.outputs.value }}
username: root
@ -69,7 +69,7 @@ jobs:
- name: Setup remote server (CentOS)
if: steps.server_os.outputs.value == 'centos'
uses: appleboy/ssh-action@master
uses: appleboy/ssh-action@v0.1.2
with:
host: ${{ steps.server_ip.outputs.value }}
username: root
@ -77,7 +77,7 @@ jobs:
script: set -x && yum install -y git
- name: Download repo and checkout current commit
uses: appleboy/ssh-action@master
uses: appleboy/ssh-action@v0.1.2
with:
host: ${{ steps.server_ip.outputs.value }}
username: root
@ -85,7 +85,7 @@ jobs:
script: set -x && git clone https://github.com/angristan/openvpn-install.git && cd openvpn-install && git checkout ${{ github.event.pull_request.head.sha }}
- name: Run openvpn-install.sh in headless mode
uses: appleboy/ssh-action@master
uses: appleboy/ssh-action@v0.1.2
with:
host: ${{ steps.server_ip.outputs.value }}
username: root