Skip to content

Commit 3ed21e8

Browse files
committed
Workflow updates
1 parent ddf4150 commit 3ed21e8

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ on:
1515
required: false
1616
default: false
1717

18-
push:
19-
branches:
20-
- main
18+
# push:
19+
# branches:
20+
# - main
2121
# - dev
2222
jobs:
2323
# docs:
@@ -48,13 +48,13 @@ jobs:
4848
- {
4949
rust: stable,
5050
os: macos-latest,
51-
artifact_name: santa,
51+
artifact_name: santa-macos,
5252
asset_name: santa-macos,
5353
}
5454
- {
5555
rust: stable,
5656
os: ubuntu-latest,
57-
artifact_name: santa,
57+
artifact_name: santa-linux,
5858
asset_name: santa-linux,
5959
}
6060
- {

.github/workflows/pr.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ on:
33
workflow_dispatch:
44
pull_request:
55
branches: [main]
6-
push:
7-
branches: [dev]
6+
# push:
7+
# branches: [dev]
88
jobs:
99
rustfmt:
1010
name: Formatting
@@ -25,16 +25,18 @@ jobs:
2525
lint:
2626
name: clippy (lint)
2727
runs-on: ubuntu-latest
28-
if: ${{ !env.ACT }}
2928
steps:
3029
- uses: actions/checkout@v2
30+
if: ${{ !env.ACT }}
3131
- name: Install Rust
3232
uses: actions-rs/toolchain@v1
33+
if: ${{ !env.ACT }}
3334
with:
3435
toolchain: stable
3536
profile: minimal
3637
- name: Annotate commit with clippy warnings
3738
uses: actions-rs/clippy-check@v1
39+
if: ${{ !env.ACT }}
3840
with:
3941
token: ${{ secrets.GITHUB_TOKEN }}
4042
args: --all-features

0 commit comments

Comments
 (0)