From 016e1a4494ddc676dcbf0722618bebe04fcc84c9 Mon Sep 17 00:00:00 2001 From: Kevin Yue Date: Sun, 25 Feb 2024 22:04:11 +0800 Subject: [PATCH] Update CI --- .github/workflows/build.yaml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 4ba14c2..6c4a230 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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