Skip to content

Commit

Permalink
CI: Build 'release' jobs, and ignore tags on 'push'.
Browse files Browse the repository at this point in the history
  • Loading branch information
dsvensson committed Oct 13, 2024
1 parent 5c1c501 commit e58cd69
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
name: main

on: [ push, pull_request, workflow_dispatch ]
on:
push:
# Only build branches on push, tags will be handled by 'release' job.
branches:
- '**'
pull_request:
workflow_dispatch:
release:
types: [created]

jobs:
build:
Expand Down

0 comments on commit e58cd69

Please sign in to comment.