Relocate local and manylinux under a build command

This commit is contained in:
Valentin Niess
2020-04-01 00:47:41 +02:00
parent 7cdb1fb646
commit 83ee9e5f0c
7 changed files with 37 additions and 24 deletions

View File

@@ -26,7 +26,7 @@ jobs:
- name: Build
run: |
# Build the AppImage
python -m python_appimage manylinux \
python -m python_appimage build manylinux \
${{ matrix.image }}_${{ matrix.arch }} \
${{ matrix.tag }}
@@ -43,6 +43,7 @@ jobs:
echo "::set-env name=PYTHON_VERSION::${version}"
- uses: actions/upload-artifact@v1
if: github.ref == 'refs/heads/master'
with:
name: python${{ env.PYTHON_VERSION }}-appimages
path: ${{ env.PYTHON_APPIMAGE }}
@@ -50,6 +51,7 @@ jobs:
Release:
needs: Build
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
strategy:
matrix:
version: [2.7, 3.5, 3.6, 3.7, 3.8]

View File

@@ -23,12 +23,14 @@ jobs:
- name: Test local builder
run: |
python -m python_appimage local -p $(which python) -d test.AppImage
python -m python_appimage build local -p $(which python) \
-d test.AppImage
test -e test.AppImage
Publish:
needs: Test
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v2