Skip to content

Commit

Permalink
Update 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 8819db4 commit e692e5f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/branch-or-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@ name: Build or publish
on: [push]

jobs:
main:
runs-on: ubuntu-latest
steps:
- name: non tag step
if: github.ref_type != 'tag'
run: env

- name: tag step
if: github.ref_type == 'tag'
run: env

build:
runs-on: ubuntu-latest
if: github.ref_type != 'tag'
Expand Down

0 comments on commit e692e5f

Please sign in to comment.