Update CI

This commit is contained in:
Kevin Yue 2024-02-25 22:04:11 +08:00
parent a55616b66a
commit 016e1a4494

View File

@ -179,6 +179,37 @@ jobs:
path: |
gp/.build/binary/*.bin.tar.gz
build-gpgui:
runs-on: ubuntu-latest
steps:
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Checkout GlobalProtect-openconnect
uses: actions/checkout@v3
with:
token: ${{ secrets.GH_PAT }}
repository: yuezk/GlobalProtect-openconnect
path: gp
- name: Checkout gpgui
uses: actions/checkout@v3
with:
token: ${{ secrets.GH_PAT }}
repository: yuezk/gpgui
path: gpgui
- name: Build gpgui
run: |
cd gpgui
make package
./target/release/gpgui --version
- name: Upload gpgui
uses: actions/upload-artifact@v3
with:
name: artifact-gpgui
path: |
gpgui/.build/package/*.tar.xz
# Include arm64 if ref is a tag
# setup-matrix:
# runs-on: ubuntu-latest