From 152679cd93db7fcaf357d1ce3d1667581e7385a4 Mon Sep 17 00:00:00 2001 From: Oleksandr Shevchuk Date: Tue, 11 Feb 2025 19:02:58 +0100 Subject: [PATCH 1/3] fix: mac intel build --- .github/workflows/auto-release-stg.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-release-stg.yml b/.github/workflows/auto-release-stg.yml index 0e8aa2dc..627cc708 100644 --- a/.github/workflows/auto-release-stg.yml +++ b/.github/workflows/auto-release-stg.yml @@ -26,7 +26,7 @@ jobs: artifact_name: lumerin-wallet-desktop.exe asset_name: lumerin_v${{github.ref_name}}.exe - target: macos - os: macos-latest + os: macos-13 artifact_name: lumerin-wallet-desktop-x64.dmg asset_name: lumerin_v${{github.ref_name}}.dmg - target: macos-arm From 4c9277c2a7aac0f669afdaa366aceb18890f2abc Mon Sep 17 00:00:00 2001 From: Oleksandr Shevchuk Date: Tue, 11 Feb 2025 19:07:04 +0100 Subject: [PATCH 2/3] fix: auto-publish script --- .github/workflows/auto-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-publish.yml b/.github/workflows/auto-publish.yml index f0d6a076..15f6f40a 100644 --- a/.github/workflows/auto-publish.yml +++ b/.github/workflows/auto-publish.yml @@ -24,7 +24,7 @@ jobs: - target: windows os: windows-latest - target: macos - os: macos-latest + os: macos-13 - target: macos-arm os: macos-latest runs-on: ${{ matrix.os }} From 796f3b7a0db3e47424b473453a0d5decab39dbf4 Mon Sep 17 00:00:00 2001 From: abs2023 Date: Tue, 11 Feb 2025 13:47:13 -0500 Subject: [PATCH 3/3] update stg for new gitlab token --- .github/workflows/auto-release-dev.yml | 4 ++-- .github/workflows/auto-release-stg.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/auto-release-dev.yml b/.github/workflows/auto-release-dev.yml index d4ca3924..5da54e25 100644 --- a/.github/workflows/auto-release-dev.yml +++ b/.github/workflows/auto-release-dev.yml @@ -72,8 +72,8 @@ jobs: - name: Set env from github # keep alphabetical order run: | - echo "AUTO_ADJUST_CONTRACT_PRICE_TIMEOUT"=$AUTO_ADJUST_CONTRACT_PRICE_TIMEOUT >> .env - echo "AUTO_ADJUST_PRICE_INTERVAL"=$AUTO_ADJUST_PRICE_INTERVAL >> .env + echo "AUTO_ADJUST_CONTRACT_PRICE_TIMEOUT=$AUTO_ADJUST_CONTRACT_PRICE_TIMEOUT" >> .env + echo "AUTO_ADJUST_PRICE_INTERVAL=$AUTO_ADJUST_PRICE_INTERVAL" >> .env echo "CHAIN_ID=$CHAIN_ID" >> .env echo "COIN_DEFAULT_GAS_LIMIT=$COIN_DEFAULT_GAS_LIMIT" >> .env echo "DEFAULT_GAS_PRICE=$DEFAULT_GAS_PRICE" >> .env diff --git a/.github/workflows/auto-release-stg.yml b/.github/workflows/auto-release-stg.yml index 627cc708..fc42c589 100644 --- a/.github/workflows/auto-release-stg.yml +++ b/.github/workflows/auto-release-stg.yml @@ -162,13 +162,13 @@ jobs: downloadUrl="https://gitlab.com/api/v4/projects/${{ secrets.GITLAB_PROXY_REPO_ID }}/jobs/$jobId/artifacts/$artifactPath" if [ "${namePrefix}" = 'windows_amd64.exe' ]; then - curl -o "$GITHUB_WORKSPACE/executables/proxy-router.exe" -H "Authorization: Bearer ${{ secrets.GITLAB_TOKEN }}" "$downloadUrl" -L + curl -o "$GITHUB_WORKSPACE/executables/proxy-router.exe" -H "Authorization: Bearer ${{ secrets.GITLAB_PROXY_REPO_TOKEN }}" "$downloadUrl" -L else - curl -o "$GITHUB_WORKSPACE/executables/proxy-router" -H "Authorization: Bearer ${{ secrets.GITLAB_TOKEN }}" "$downloadUrl" -L + curl -o "$GITHUB_WORKSPACE/executables/proxy-router" -H "Authorization: Bearer ${{ secrets.GITLAB_PROXY_REPO_TOKEN }}" "$downloadUrl" -L fi break_outer=true break - done < <(curl -H "Accept: application/json" -H "Authorization: Bearer ${{ secrets.GITLAB_TOKEN }}" -0 "https://gitlab.com/api/v4/projects/${{ secrets.GITLAB_PROXY_REPO_ID }}/jobs?scope[]=success&per_page=100&page=$i" | jq -c '.[] | select(.name == "release-internal") | select(.ref | test("-stg$")) | {name: .ref, releaseName: .name, jobId: .id}') + done < <(curl -H "Accept: application/json" -H "Authorization: Bearer ${{ secrets.GITLAB_PROXY_REPO_TOKEN }}" -0 "https://gitlab.com/api/v4/projects/${{ secrets.GITLAB_PROXY_REPO_ID }}/jobs?scope[]=success&per_page=100&page=$i" | jq -c '.[] | select(.name == "release-internal") | select(.ref | test("-stg$")) | {name: .ref, releaseName: .name, jobId: .id}') if $break_outer; then break fi