From 060a506804ad734c3318999b046eaddc4cda527f Mon Sep 17 00:00:00 2001 From: Andrii Hryshaienko Date: Thu, 27 Jul 2023 13:11:39 +0300 Subject: [PATCH 1/3] update release --- .github/workflows/build-release.yaml | 2 ++ ci/install_deps.sh | 7 +++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-release.yaml b/.github/workflows/build-release.yaml index 09cd75e3ce..60632d3261 100644 --- a/.github/workflows/build-release.yaml +++ b/.github/workflows/build-release.yaml @@ -7,6 +7,7 @@ on: branches: - develop - "test-release" + - development/test_ci permissions: write-all jobs: build: @@ -91,6 +92,7 @@ jobs: TARGET: ${{ matrix.target }} EXE_EXT: ${{ matrix.exe_ext }} run: env GITHUB_TOKEN=${GITHUB_TOKEN_RUNNER} ./ci/github-check-nightly-release.sh + run: ./ci/github-check-nightly-release.sh if: ${{ !startsWith(github.ref, 'refs/tags/') }} diff --git a/ci/install_deps.sh b/ci/install_deps.sh index 80ff27c922..e919877d2f 100755 --- a/ci/install_deps.sh +++ b/ci/install_deps.sh @@ -8,7 +8,10 @@ case "$CI_OS_NAME" in ;; linux) apt-get -y install curl git libssl-dev libudev-dev make pkg-config zlib1g-dev llvm clang cmake openssh-client protobuf-compiler - apt-get -y install hub + wget https://github.com/mislav/hub/releases/download/v2.14.2/hub-linux-amd64-2.14.2.tgz -O hub.tgz + tar -xvf hub.tgz + sudo mv hub-linux-amd64-2.14.2/bin/hub /usr/local/bin/hub + rm -rf hub.tgz hub-linux-amd64-2.14.2 ;; windows) ;; @@ -17,4 +20,4 @@ case "$CI_OS_NAME" in ;; esac -curl https://sh.rustup.rs -sSf | sh -s -- -y \ No newline at end of file +curl https://sh.rustup.rs -sSf | sh -s -- -y From 43f205be10a5c1dbb828010da64ed63814aaadec Mon Sep 17 00:00:00 2001 From: Andrii Hryshaienko Date: Thu, 27 Jul 2023 13:12:54 +0300 Subject: [PATCH 2/3] test ci --- .github/workflows/build-release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-release.yaml b/.github/workflows/build-release.yaml index 60632d3261..8b41f23829 100644 --- a/.github/workflows/build-release.yaml +++ b/.github/workflows/build-release.yaml @@ -91,7 +91,7 @@ jobs: TAG: nightly TARGET: ${{ matrix.target }} EXE_EXT: ${{ matrix.exe_ext }} - run: env GITHUB_TOKEN=${GITHUB_TOKEN_RUNNER} ./ci/github-check-nightly-release.sh + # run: env GITHUB_TOKEN=${GITHUB_TOKEN_RUNNER} ./ci/github-check-nightly-release.sh run: ./ci/github-check-nightly-release.sh if: ${{ !startsWith(github.ref, 'refs/tags/') }} From d738dc1186c5357a1950ca11457154dfbfdcce39 Mon Sep 17 00:00:00 2001 From: Andrii Hryshaienko Date: Thu, 27 Jul 2023 13:28:23 +0300 Subject: [PATCH 3/3] update nightly release --- .github/workflows/build-release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-release.yaml b/.github/workflows/build-release.yaml index 8b41f23829..17c07bd2b5 100644 --- a/.github/workflows/build-release.yaml +++ b/.github/workflows/build-release.yaml @@ -88,11 +88,11 @@ jobs: - name: Nightly release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - TAG: nightly + # TAG: nightly TARGET: ${{ matrix.target }} EXE_EXT: ${{ matrix.exe_ext }} # run: env GITHUB_TOKEN=${GITHUB_TOKEN_RUNNER} ./ci/github-check-nightly-release.sh - run: ./ci/github-check-nightly-release.sh + run: env TAG="nightly-$(date '+%Y-%m-%d')" ./ci/github-check-nightly-release.sh if: ${{ !startsWith(github.ref, 'refs/tags/') }}