Skip to content

Commit

Permalink
chore: changing order of execution in main.yml to prevent network err…
Browse files Browse the repository at this point in the history
…ors from vpn
  • Loading branch information
Allan committed Jul 21, 2023
1 parent 9eec2e4 commit 76a2083
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Install dependencies
run: npm ci

- name: Check code style (aborts if errors found)
run: npx @sasjs/cli lint

- name: Write VPN Files
run: |
echo "$CA_CRT" > .github/vpn/ca.crt
Expand All @@ -39,12 +45,6 @@ jobs:
- name: Start Open VPN 3
run: openvpn3 session-start --config .github/vpn/config.ovpn

- name: Install dependencies
run: npm ci

- name: Check code style (aborts if errors found)
run: npx @sasjs/cli lint

- name: Add credentials
run: |
echo "CLIENT=${{secrets.SAS9_4GL_IO_CLIENT}}"> .env.server
Expand Down

0 comments on commit 76a2083

Please sign in to comment.