Skip to content

Commit

Permalink
chore(ci): fix job condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Zebradil committed Nov 28, 2023
1 parent 31802f7 commit 016081e
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
name: release
---
name: Release

on:
push:
tags:
- '*'
- "*"

jobs:
release:
if: github.event.base_ref == 'refs/heads/master'
name: Create release
runs-on: ubuntu-latest
steps:
- name: Create release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false

- name: Create release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false

0 comments on commit 016081e

Please sign in to comment.