Skip to content

Commit

Permalink
Fix branches
Browse files Browse the repository at this point in the history
  • Loading branch information
sterliakov committed Dec 19, 2023
1 parent 1add6eb commit 0a32cb8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: build
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master

jobs:
build:
Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,12 @@ name: Publish Crate
on:
push:
branches:
- main
- master
paths:
- Cargo.toml
repository_dispatch:
types: publish

# After you create the GitHub repo, head over to `crates.io` and create
# an API Token, or use the link below:
# <https://crates.io/settings/tokens>
#
# Once you have an API token, add it as a Repository Secret (CARGO_TOKEN)
# under the GitHub repo, so that it can be used by GitHub Actions to deploy
# to `crates.io` whenever a new tag is pushed to GitHub:
# <https://github.com/sterliakov/thor-devkit.rs/settings/secrets/actions/new>
jobs:
publish:
runs-on: ubuntu-latest
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ name: test
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
schedule:
- cron: '0 0 * * 0'
- master

jobs:
build:
Expand Down

0 comments on commit 0a32cb8

Please sign in to comment.