Skip to content

Commit

Permalink
Merge pull request #24 from rinchsan/fix
Browse files Browse the repository at this point in the history
Fix github actions
  • Loading branch information
rinchsan authored Mar 20, 2021
2 parents 8fabce5 + 26c73ab commit 857212b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 14 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/draft.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Draft

on:
push:
branches:
- master

jobs:

draft:
name: Draft
runs-on: ubuntu-latest
steps:
- name: Draft Release
uses: release-drafter/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15 changes: 1 addition & 14 deletions .github/workflows/cd.yaml → .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,28 +1,15 @@
name: CD
name: Release

on:
push:
branches:
- master
tags:
- v*

jobs:

draft:
name: Draft
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/heads/')
steps:
- name: Draft Release
uses: release-drafter/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

release:
name: Release
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down

0 comments on commit 857212b

Please sign in to comment.