seperate test and release

This commit is contained in:
Florian Forster 2019-11-15 14:18:46 +01:00
parent 97f8ac76c4
commit a91607b4e1
No known key found for this signature in database
GPG key ID: B03784B4B09FB794
2 changed files with 24 additions and 1 deletions

View file

@ -1,5 +1,8 @@
name: Release name: Release
on: push on:
push:
branches:
- master
jobs: jobs:
release: release:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04

20
.github/workflows/test.yml vendored Normal file
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