Skip to content

Commit 5e1b178

Browse files
authored
Update rustdoc.yml (#11)
* Update rustdoc.yml * TRY-0 Build only on push
1 parent 7d6db35 commit 5e1b178

File tree

3 files changed

+11
-14
lines changed

3 files changed

+11
-14
lines changed

.github/workflows/rust-linux.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,17 @@ name: Rust Linux
22

33
on:
44
push:
5-
pull_request:
65

76
env:
87
CARGO_TERM_COLOR: always
98

109
jobs:
1110
build:
12-
1311
runs-on: ubuntu-latest
1412

1513
steps:
16-
- uses: actions/checkout@v3
17-
- name: Build
18-
run: cargo build --verbose
19-
- name: Run tests
20-
run: cargo test --verbose
14+
- uses: actions/checkout@v3
15+
- name: Build
16+
run: cargo build --verbose
17+
- name: Run tests
18+
run: cargo test --verbose

.github/workflows/rust-windows.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,17 @@ name: Rust Windows
22

33
on:
44
push:
5-
pull_request:
65

76
env:
87
CARGO_TERM_COLOR: always
98

109
jobs:
1110
build:
12-
1311
runs-on: windows-latest
1412

1513
steps:
16-
- uses: actions/checkout@v3
17-
- name: Build
18-
run: cargo build --verbose
19-
- name: Run tests
20-
run: cargo test --verbose
14+
- uses: actions/checkout@v3
15+
- name: Build
16+
run: cargo build --verbose
17+
- name: Run tests
18+
run: cargo test --verbose

.github/workflows/rustdoc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ jobs:
3030
github_token: ${{ secrets.GITHUB_TOKEN }}
3131
publish_branch: rustdoc
3232
publish_dir: ./target/doc
33+
keep_files: true

0 commit comments

Comments
 (0)