Skip to content

Commit

Permalink
Switch to docker based build for Linux binary
Browse files Browse the repository at this point in the history
  • Loading branch information
extremecoders-re authored May 7, 2023
1 parent f93eca7 commit 29723b6
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@ on: workflow_dispatch

jobs:
build-linux:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
container: ubuntu:18.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.8'
- run: |
python -m pip install -r requirements-dev.txt
python -m PyInstaller -F pyinstxtractor-ng.py
apt update && apt install wget tar binutils --yes
wget https://github.com/indygreg/python-build-standalone/releases/download/20230116/cpython-3.8.16+20230116-x86_64-unknown-linux-gnu-install_only.tar.gz && \
tar xf cpython-3.8.16+20230116-x86_64-unknown-linux-gnu-install_only.tar.gz && \
./python/bin/python3.8 -m pip install -r requirements-dev.txt && \
./python/bin/python3.8 -m PyInstaller -F pyinstxtractor-ng.py
- name: Set release date
run: echo "RELEASE_DATE=$(date -u +%Y.%m.%d)" >> ${GITHUB_ENV}
Expand Down Expand Up @@ -50,4 +51,4 @@ jobs:
artifacts: "dist/pyinstxtractor-ng.exe"
token: ${{ secrets.GITHUB_TOKEN }}
allowUpdates: true
draft: true
draft: true

0 comments on commit 29723b6

Please sign in to comment.