Skip to content

Commit

Permalink
Don't run docker or upload artifact steps when the event is a pull
Browse files Browse the repository at this point in the history
request
  • Loading branch information
joeyak committed Mar 25, 2024
1 parent 5822e88 commit 6a2e286
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,15 @@ jobs:
run: go build

- uses: actions/upload-artifact@v3
if: github.event_name != 'pull_request'
with:
name: MovieNight-${{ matrix.os }}-${{ matrix.arch }}
if-no-files-found: error
path: MovieNight*

docker:
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'

needs: pre-build

Expand Down

0 comments on commit 6a2e286

Please sign in to comment.