Skip to content

Commit

Permalink
Fix nightly workflow (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaofei0800 authored Jan 26, 2024
1 parent bad913c commit f81b31f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Build nightly
on:
schedule:
- cron: '30 5 * * *'
workflow_dispatch:

env:
CARGO_TERM_COLOR: always
Expand All @@ -16,11 +17,15 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- uses: actions/checkout@v4
with:
repository: Tencent/tquic
path: deps/tquic
submodules: 'recursive'
- name: Update rust
run: rustup update
- name: Overriding with lastest tquic
run: |
echo "paths = [\"/tmp/tquic\"]" > $HOME/.cargo/config.toml
git clone --recursive [email protected]:Tencent/tquic.git /tmp/tquic
echo "paths = [\"$GITHUB_WORKSPACE/deps/tquic\"]" > $HOME/.cargo/config.toml
- name: Build TQUIC examples
run: cargo build --all --verbose

0 comments on commit f81b31f

Please sign in to comment.