◐ Shell
reader mode source ↗
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
File filter
Conversations
Jump to
Diff view
Apply and reload
Show whitespace
Diff view
Apply and reload
36 changes: 25 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,24 @@ jobs:
steps:
- name: Install Dependencies for Ubuntu
# git >= 2.18 required for actions/checkout git support
run: apt-get update && apt-get install -y software-properties-common && add-apt-repository -y ppa:git-core/ppa && apt-get update && apt-get install -y git build-essential clang python3 libssl-dev libkrb5-dev libc++-dev
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true

- name: Setup Environment
run: |
mkdir ~/.ssh_tests
Expand Down Expand Up @@ -70,10 +84,10 @@ jobs:
if: startsWith(github.ref, 'refs/tags/v')
env:
node_pre_gyp_bucket: ${{ secrets.node_pre_gyp_bucket }}
node_pre_gyp_accessKeyId: ${{ secrets.node_pre_gyp_accessKeyId }}
node_pre_gyp_secretAccessKey: ${{ secrets.node_pre_gyp_secretAccessKey }}
run: |
npm install -g node-pre-gyp aws-sdk
node lifecycleScripts/clean
node-pre-gyp package
node-pre-gyp publish
Expand Down Expand Up @@ -128,10 +142,10 @@ jobs:
if: startsWith(github.ref, 'refs/tags/v')
env:
node_pre_gyp_bucket: ${{ secrets.node_pre_gyp_bucket }}
node_pre_gyp_accessKeyId: ${{ secrets.node_pre_gyp_accessKeyId }}
node_pre_gyp_secretAccessKey: ${{ secrets.node_pre_gyp_secretAccessKey }}
run: |
npm install -g node-pre-gyp aws-sdk
node lifecycleScripts/clean
node-pre-gyp package
node-pre-gyp publish
Expand All @@ -142,7 +156,7 @@ jobs:
matrix:
node: [12, 14, 16]
arch: [x86, x64]
runs-on: windows-2016
steps:
- name: Setup Environment
run: |
Expand Down Expand Up @@ -178,7 +192,7 @@ jobs:
# and it treats each additional step past the first as an orphaned process.
- name: Deploy (Dependencies)
if: startsWith(github.ref, 'refs/tags/v')
run: npm install -g node-pre-gyp aws-sdk

- name: Deploy (Clean)
if: startsWith(github.ref, 'refs/tags/v')
Expand All @@ -192,6 +206,6 @@ jobs:
if: startsWith(github.ref, 'refs/tags/v')
env:
node_pre_gyp_bucket: ${{ secrets.node_pre_gyp_bucket }}
node_pre_gyp_accessKeyId: ${{ secrets.node_pre_gyp_accessKeyId }}
node_pre_gyp_secretAccessKey: ${{ secrets.node_pre_gyp_secretAccessKey }}
run: node-pre-gyp publish
Loading
Toggle all file notes Toggle all file annotations