diff --git a/.github/workflows/branch-or-tag.yml b/.github/workflows/branch-or-tag.yml index 7c44de9..35fc2e5 100644 --- a/.github/workflows/branch-or-tag.yml +++ b/.github/workflows/branch-or-tag.yml @@ -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'