File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Test installers
2+
3+ on :
4+ workflow_dispatch :
5+
6+ permissions :
7+ contents : read
8+
9+ jobs :
10+ unix :
11+ name : install.sh (${{ matrix.os }})
12+ runs-on : ${{ matrix.os }}
13+ strategy :
14+ fail-fast : false
15+ matrix :
16+ os : [ubuntu-latest, macos-latest]
17+ steps :
18+ - name : Install via install.sh
19+ run : |
20+ set -euo pipefail
21+ export ENVAPOR_INSTALL_DIR="$HOME/.envapor-test/bin"
22+ curl -fsSL https://raw.githubusercontent.com/automazeio/envapor/main/installers/install.sh | sh
23+ echo "$ENVAPOR_INSTALL_DIR" >> "$GITHUB_PATH"
24+
25+ - name : Verify
26+ run : |
27+ set -euo pipefail
28+ envapor --version
29+ test "$(envapor --version)" = "envapor version 0.0.1" || echo "note: version string is '$(envapor --version)'"
30+
31+ windows :
32+ name : install.ps1 (windows-latest)
33+ runs-on : windows-latest
34+ steps :
35+ - name : Install via install.ps1
36+ shell : pwsh
37+ run : |
38+ irm https://raw.githubusercontent.com/automazeio/envapor/main/installers/install.ps1 | iex
39+ Add-Content -Path $env:GITHUB_PATH -Value "$env:LOCALAPPDATA\Envapor\bin"
40+
41+ - name : Verify
42+ shell : pwsh
43+ run : envapor --version
You can’t perform that action at this time.
0 commit comments