upgrade localstack-cli to 2.0.1 #23
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build with pyinstaller | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
release: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-10.15, windows-latest, ubuntu-latest] | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v1 | |
- name: Create virtual environment | |
run: make venv | |
- name: Build using pyinstaller | |
run: make build | |
- name: Smoke test | |
run: | | |
ls dist/localstack | |
dist/localstack/localstack --help | |
dist/localstack/localstack config show | |
- name: Set CLI version output | |
id: cli_version | |
run: | | |
dist/localstack/localstack --version | |
echo "::set-output name=number::$(dist/localstack/localstack --version)" | |
- name: Archive distribution | |
run: | | |
cd dist/ | |
tar -czf localstack-cli-${{steps.cli_version.outputs.number}}-${{ matrix.os }}.tar.gz localstack | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: localstack-cli-${{steps.cli_version.outputs.number}}-${{ matrix.os }} | |
path: dist/localstack-cli-${{steps.cli_version.outputs.number}}-${{ matrix.os }}.tar.gz |