mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-29 22:26:26 -04:00
chown
This commit is contained in:
parent
841bb29475
commit
7d0eddf50b
12
.github/workflows/build.yaml
vendored
12
.github/workflows/build.yaml
vendored
@ -25,7 +25,7 @@ jobs:
|
|||||||
if [[ "${{ github.ref }}" == "refs/tags/"* ]]; then
|
if [[ "${{ github.ref }}" == "refs/tags/"* ]]; then
|
||||||
echo "matrix=[\"ubuntu-latest\", \"arm64\"]" >> $GITHUB_OUTPUT
|
echo "matrix=[\"ubuntu-latest\", \"arm64\"]" >> $GITHUB_OUTPUT
|
||||||
else
|
else
|
||||||
echo "matrix=[\"ubuntu-latest\"]" >> $GITHUB_OUTPUT
|
echo "matrix=[\"arm64\"]" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
tarball:
|
tarball:
|
||||||
@ -54,6 +54,7 @@ jobs:
|
|||||||
gp/.build/tarball/*.tar.gz
|
gp/.build/tarball/*.tar.gz
|
||||||
|
|
||||||
build-deb:
|
build-deb:
|
||||||
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
needs:
|
needs:
|
||||||
- setup-matrix
|
- setup-matrix
|
||||||
- tarball
|
- tarball
|
||||||
@ -95,6 +96,7 @@ jobs:
|
|||||||
globalprotect-openconnect-*/.build/deb/*.deb
|
globalprotect-openconnect-*/.build/deb/*.deb
|
||||||
|
|
||||||
build-rpm:
|
build-rpm:
|
||||||
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
needs:
|
needs:
|
||||||
- setup-matrix
|
- setup-matrix
|
||||||
- tarball
|
- tarball
|
||||||
@ -147,12 +149,14 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
container:
|
container:
|
||||||
image: yuezk/gpdev:pkgbuild
|
image: yuezk/gpdev:pkgbuild
|
||||||
# Add -u builder for arm64
|
|
||||||
options: ${{ matrix.os == 'arm64' && '-u builder' || '-u user' }}
|
|
||||||
credentials:
|
credentials:
|
||||||
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_HUB_TOKEN }}
|
password: ${{ secrets.DOCKER_HUB_TOKEN }}
|
||||||
steps:
|
steps:
|
||||||
|
- name: chown
|
||||||
|
run: |
|
||||||
|
sudo chown -R $USER:$USER .
|
||||||
|
ls -l
|
||||||
- name: Download tarball
|
- name: Download tarball
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
@ -181,6 +185,7 @@ jobs:
|
|||||||
globalprotect-openconnect-*/.build/pkgbuild/*.pkg.tar.zst
|
globalprotect-openconnect-*/.build/pkgbuild/*.pkg.tar.zst
|
||||||
|
|
||||||
build-binary:
|
build-binary:
|
||||||
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
needs:
|
needs:
|
||||||
- setup-matrix
|
- setup-matrix
|
||||||
- tarball
|
- tarball
|
||||||
@ -223,6 +228,7 @@ jobs:
|
|||||||
globalprotect-openconnect-*/.build/binary/*.bin.tar.xz*
|
globalprotect-openconnect-*/.build/binary/*.bin.tar.xz*
|
||||||
|
|
||||||
build-gpgui:
|
build-gpgui:
|
||||||
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
needs:
|
needs:
|
||||||
- setup-matrix
|
- setup-matrix
|
||||||
strategy:
|
strategy:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user