Skip to content

Commit

Permalink
Update build_and_release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
doubleailes committed Feb 24, 2024
1 parent 9b49308 commit 1e83012
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/build_and_release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
name: "build_and_release"
name: "test_build_and_release"

on:
push:
branches:
- main
- master
pull_request:
workflow_dispatch:
release:
types:
- published
types: [created]

jobs:
ruff:
Expand All @@ -21,6 +26,7 @@ jobs:
build_and_release:
runs-on: ubuntu-latest
needs: [ruff, black]
if: github.event_name == 'release' && github.event.action == 'created'
permissions:
contents: read
packages: write
Expand Down

0 comments on commit 1e83012

Please sign in to comment.