Skip to content

Commit

Permalink
Merge pull request velas#451 from velas/development/test_ci
Browse files Browse the repository at this point in the history
fix nightly build
  • Loading branch information
jjincer authored Jul 27, 2023
2 parents 9288875 + d738dc1 commit 10e237b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
branches:
- develop
- "test-release"
- development/test_ci
permissions: write-all
jobs:
build:
Expand Down Expand Up @@ -87,10 +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: env GITHUB_TOKEN=${GITHUB_TOKEN_RUNNER} ./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/') }}


Expand Down
7 changes: 5 additions & 2 deletions ci/install_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
;;
Expand All @@ -17,4 +20,4 @@ case "$CI_OS_NAME" in
;;
esac

curl https://sh.rustup.rs -sSf | sh -s -- -y
curl https://sh.rustup.rs -sSf | sh -s -- -y

0 comments on commit 10e237b

Please sign in to comment.