seperate test and release

This commit is contained in:
Florian Forster
2019-11-15 14:18:46 +01:00
parent 97f8ac76c4
commit a91607b4e1
2 changed files with 24 additions and 1 deletions
+4 -1
View File
@@ -1,5 +1,8 @@
name: Release
on: push
on:
push:
branches:
- master
jobs:
release:
runs-on: ubuntu-18.04
+20
View File
@@ -0,0 +1,20 @@
name: Test
on:
push:
branches:
- !master
jobs:
release:
runs-on: ubuntu-18.04
steps:
- name: Source checkout
uses: actions/checkout@v1
with:
fetch-depth: 1
- name: Release
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
echo "Insert Go test & Build Here" ## Insert Go test & Build Here
npx semantic-release