Skip to content

Commit

Permalink
Create branch-or-tag.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pgreze authored Apr 21, 2023
1 parent 335c5ba commit 6fd2592
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/branch-or-tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Build or publish

on: [push]

jobs:
build:
runs-on: ubuntu-latest
if: github.ref_type != 'tag'
steps:
- run: env

publish:
runs-on: ubuntu-latest
if: github.ref_type == 'tag' && github.event_name == 'create'
steps:
- run: env

0 comments on commit 6fd2592

Please sign in to comment.