From 2c21ac591842d28374b67765fa1171b913ef1764 Mon Sep 17 00:00:00 2001 From: quidscio <45275223+quidscio@users.noreply.github.com> Date: Fri, 26 Sep 2025 14:28:49 -0400 Subject: [PATCH] Add GitHub token env to build installer workflow --- .github/workflows/build.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8c1fc2a..73233f8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -168,6 +168,9 @@ jobs: timeout-minutes: 120 run: | ./ubiquitous_bash.sh _getMinimal_cloud + env: + INPUT_GITHUB_TOKEN: ${{ github.token }} + GH_TOKEN: ${{ github.token }} - name: _test_hash_legacy shell: bash @@ -186,13 +189,19 @@ jobs: timeout-minutes: 120 run: | ./ubiquitous_bash.sh _getMinimal-build_ubDistBuild + env: + INPUT_GITHUB_TOKEN: ${{ github.token }} + GH_TOKEN: ${{ github.token }} - name: build-fetch shell: bash timeout-minutes: 120 run: | mkdir -p ../ubDistBuild-accessories/integrations/ubcp - #curl -L -o ../ubDistBuild-accessories/integrations/ubcp/package_ubcp-core.7z $(curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" "https://api.github.com/repos/mirage335-colossus/ubiquitous_bash/releases" | jq -r ".[] | select(.name == \"internal\") | .assets[] | select(.name == \"package_ubcp-core.7z\") | .browser_download_url" | sort -n -r | head -n1) + #curl -L -o ../ubDistBuild-accessories/integrations/ubcp/package_ubcp-core.7z $(curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" "https://api.github.com/repos/mirage335-colossus/ubiquitous_bash/releases" | jq -r ".[] | select(.name == \"internal\") | .assets[] | select(.name == \"package_ubcp-core.7z\") | .browser_download_url" | sort -n -r | head -n1) ./ubiquitous_bash.sh _build_ubDistBuild-fetch + env: + INPUT_GITHUB_TOKEN: ${{ github.token }} + GH_TOKEN: ${{ github.token }} - name: build-build shell: bash timeout-minutes: 120 @@ -200,6 +209,9 @@ jobs: rm -rf ../ubDistBuild-accessories/parts/ubcp/package_ubcp-core/ubcp #rm -f ../ubDistBuild-accessories/integrations/ubcp/package_ubcp-core.7z ./ubiquitous_bash.sh _build_ubDistBuild-build + env: + INPUT_GITHUB_TOKEN: ${{ github.token }} + GH_TOKEN: ${{ github.token }} - name: _hash_ubDistBuildExe shell: bash