Skip to content

Commit

Permalink
only run check if release
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed Sep 21, 2023
1 parent faba82f commit 0c9af29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: grep -v '^ *#' requirements-sdp.txt
- if: github.event_name == 'released'
run: grep -v '^ *#' requirements-sdp.txt
- if: github.event_name == 'released'
run: if [[ -z $(grep -v '^ *#' requirements-sdp.txt) ]]; then echo "requirements-sdp.txt is empty"; exit 1; fi
build:
Expand Down

0 comments on commit 0c9af29

Please sign in to comment.