mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-29 14:16:26 -04:00
CI build deb
This commit is contained in:
parent
48e22f4f78
commit
aa0f6bf5bb
34
.github/workflows/build.yaml
vendored
34
.github/workflows/build.yaml
vendored
@ -35,6 +35,40 @@ jobs:
|
||||
name: artifact-tarball
|
||||
path: |
|
||||
globalprotect-openconnect-*.tar.gz
|
||||
deb:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [tarball]
|
||||
container:
|
||||
image: yuezk/gpdev:main
|
||||
credentials:
|
||||
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_HUB_TOKEN }}
|
||||
steps:
|
||||
- name: Download tarball
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: artifact-tarball
|
||||
path: gp
|
||||
- name: Build DEB package
|
||||
run: |
|
||||
cd gp
|
||||
tar -xzf globalprotect-openconnect-*.tar.gz
|
||||
cd globalprotect-openconnect-*
|
||||
make deb
|
||||
- name: Install DEB package
|
||||
run: |
|
||||
sudo dpkg -i ../globalprotect-openconnect-*.deb
|
||||
|
||||
gpclient --version
|
||||
gpservice --version
|
||||
gpauth --version
|
||||
gpgui-helper --version
|
||||
- name: Upload DEB package
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: artifact-deb
|
||||
path: |
|
||||
gp/globalprotect-openconnect-*.deb
|
||||
|
||||
# Include arm64 if ref is a tag
|
||||
# setup-matrix:
|
||||
|
Loading…
x
Reference in New Issue
Block a user