Skip to content

Commit 3cb80c2

Browse files
authored
Merge pull request #41 from netfoundry/feature/update_release_workflow
update release workflow
2 parents 74138a9 + 2fb0112 commit 3cb80c2

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,17 @@ on:
1010

1111
jobs:
1212
build:
13-
runs-on: ubuntu-20.04
14-
strategy:
15-
matrix:
16-
python-version: ["3.10"]
13+
runs-on: ubuntu-latest # this is just the host, but the job will run in the container
14+
container: ubuntu:20.04
1715
steps:
1816
- name: Check out code into the directory
1917
uses: actions/checkout@v3
20-
- name: Set up Python ${{ matrix.python-version }}
21-
uses: actions/setup-python@v3
22-
with:
23-
python-version: ${{ matrix.python-version }}
2418
- name: Install dependencies
2519
run: |
26-
python -m pip install --upgrade pip
20+
# Install required dependencies inside the container
21+
apt-get update
22+
apt-get install -y python3 python3-pip python3-dev wget build-essential
23+
python3 -m pip install --upgrade pip
2724
pip install -r requirements.txt
2825
- name: Use pyinstall to create ziti_router_auto_enroll distribution binary
2926
run: pyinstaller -F ziti_router_auto_enroll.py

0 commit comments

Comments
 (0)