File tree Expand file tree Collapse file tree 4 files changed +304
-244
lines changed Expand file tree Collapse file tree 4 files changed +304
-244
lines changed Original file line number Diff line number Diff line change 44 branches : [master]
55 pull_request :
66 branches : [master]
7+ workflow_dispatch :
78 schedule :
89 # every tuesday at 8am run the build
9- - cron : ' 0 8 * * 2'
10+ - cron : " 0 8 * * 2"
1011
1112jobs :
1213 run :
1314 name : Run
1415 runs-on : macos-latest
1516 steps :
16- - uses : actions/checkout@master
17- - name : Install Rust
18- run : rustup update nightly && rustup default nightly
19- - run : cargo build
20- - name : Configure crates.io token
21- run : |
22- echo "[registry]" >> $HOME/.cargo/credentials
23- echo "token = \"${{ secrets.CRATESIO_TOKEN }}\"" >> $HOME/.cargo/credentials
24- - run : cargo run ${{ secrets.github_token }}
25- if : github.event_name != 'pull_request'
26-
17+ - uses : actions/checkout@master
18+ - name : Install Rust
19+ run : rustup update nightly && rustup default nightly
20+ - run : cargo build
21+ - name : Configure crates.io token
22+ run : |
23+ echo "[registry]" >> $HOME/.cargo/credentials
24+ echo "token = \"${{ secrets.CRATESIO_TOKEN }}\"" >> $HOME/.cargo/credentials
25+ if : github.event_name != 'pull_request'
26+ - run : cargo run ${{ secrets.GH_TOKEN }}
27+ if : github.event_name != 'pull_request'
You can’t perform that action at this time.
0 commit comments