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 4
4
branches : [master]
5
5
pull_request :
6
6
branches : [master]
7
+ workflow_dispatch :
7
8
schedule :
8
9
# every tuesday at 8am run the build
9
- - cron : ' 0 8 * * 2'
10
+ - cron : " 0 8 * * 2"
10
11
11
12
jobs :
12
13
run :
13
14
name : Run
14
15
runs-on : macos-latest
15
16
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