Skip to content

Commit

Permalink
Merge pull request #22 from kisimediaDE/test
Browse files Browse the repository at this point in the history
[minor] Test
  • Loading branch information
kisimediaDE authored May 24, 2024
2 parents b456ef4 + ddb51d2 commit e25605f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ name: Version
on:
pull_request:
branches: [ "main" ]
push:
branches: [ "main" ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -18,6 +20,7 @@ jobs:
runs-on: ubuntu-latest
outputs:
versionType: ${{ steps.keyword.outputs.versionType }}
if: github.event_name == 'pull_request'

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand All @@ -42,9 +45,11 @@ jobs:
needs: version
permissions:
contents: write
if: needs.version.outputs.versionType != 'none'
if: needs.version.outputs.versionType != 'none' && github.event_name == 'push'

steps:
- uses: actions/checkout@v4

- name: Get next version
uses: reecetech/[email protected]
id: version
Expand All @@ -71,4 +76,4 @@ jobs:
files: release.zip
prerelease: false
draft: false
tag_name: ${{ steps.version.outputs.version }}
tag_name: ${{ steps.version.outputs.version }}

0 comments on commit e25605f

Please sign in to comment.