diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7adec328..3227755e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,26 +24,16 @@ jobs: strategy: matrix: include: - - os: ubuntu-20.04 + - os: ubuntu-22.04 jid: 1 goal: build arch: x86_64 openssl_archs: linux-x86_64 - #- os: ubuntu-22.04 - # jid: 11 - # goal: build - # arch: x86_64 - # openssl_archs: linux-x86_64 - os: [self-hosted, linux, arm64] jid: 2 goal: build arch: aarch64 openssl_archs: linux-aarch64 - - os: [self-hosted, linux, arm] - jid: 3 - goal: build - arch: armv7l - openssl_archs: linux-armv4 - os: macos-12 jid: 4 goal: build @@ -92,7 +82,7 @@ jobs: with: path: | bin - key: gam-${{ matrix.jid }}-20220517 + key: gam-${{ matrix.jid }}-20220525 - name: Use pre-compiled Python for testing if: matrix.python != '' @@ -485,7 +475,16 @@ jobs: - name: Linux 64-bit Make Static if: runner.os == 'Linux' && contains(runner.arch, '64') && matrix.goal != 'test' run: | - $PYTHON -m staticx "${gam}" "${gam}-staticx" + case $RUNNER_ARCH in + X64) + ldlib=/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 + ;; + ARM64) + ldlib=/lib/aarch64-linux-gnu/ld-linux-aarch64.so.1 + ;; + esac + echo "ldlib=${ldlib}" + $PYTHON -m staticx -l "${ldlib}" "${gam}" "${gam}-staticx" - name: Linux Run StaticX-ed if: runner.os == 'Linux' && contains(runner.arch, '64') && matrix.goal != 'test' diff --git a/src/gam/gapi/errors.py b/src/gam/gapi/errors.py index 9a5c794c..d4765af2 100644 --- a/src/gam/gapi/errors.py +++ b/src/gam/gapi/errors.py @@ -233,6 +233,7 @@ ERROR_REASON_TO_EXCEPTION = { OAUTH2_TOKEN_ERRORS = [ 'access_denied', 'access_denied: Requested client not authorized', + 'access_denied: Account restricted', 'internal_failure: Backend Error', 'internal_failure: None', 'invalid_grant', diff --git a/src/gam/var.py b/src/gam/var.py index e4bfedc6..4f550e9b 100644 --- a/src/gam/var.py +++ b/src/gam/var.py @@ -8,7 +8,7 @@ import platform import re GAM_AUTHOR = 'Jay Lee ' -GAM_VERSION = '6.21' +GAM_VERSION = '6.22' GAM_LICENSE = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)' GAM_URL = 'https://jaylee.us/gam' diff --git a/src/setup.cfg b/src/setup.cfg index dd4030b0..b77be5db 100644 --- a/src/setup.cfg +++ b/src/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = GAM for Google Workspace -version = 6.0.21 +version = 6.0.22 description = Command line management for Google Workspaces long_description = file: readme.md long_description_content_type = text/markdown