Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,22 @@ on:
pull_request:
types:
- closed
branches:
- main

jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ["3.10"]
runs-on: ubuntu-latest # this is just the host, but the job will run in the container
container: ubuntu:20.04
steps:
- name: Check out code into the directory
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
# Install required dependencies inside the container
apt-get update
apt-get install -y python3 python3-pip python3-dev wget build-essential
python3 -m pip install --upgrade pip
pip install -r requirements.txt
- name: Use pyinstall to create distribution binary
run: mkdir /opt/netfoundry; pyinstaller -F support_bundle_bootstrap.py --runtime-tmpdir /opt/netfoundry/
Expand Down
Loading