mirror of
https://github.com/niess/python-appimage.git
synced 2026-03-14 04:10:15 +01:00
Relocate local and manylinux under a build command
This commit is contained in:
4
.github/workflows/appimage.yml
vendored
4
.github/workflows/appimage.yml
vendored
@@ -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]
|
||||
|
||||
4
.github/workflows/pypi.yml
vendored
4
.github/workflows/pypi.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user