Skip to content

Commit

Permalink
merge workflow ci files
Browse files Browse the repository at this point in the history
  • Loading branch information
acodeninja committed Jan 13, 2020
1 parent da1357f commit 0f747a6
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 26 deletions.
24 changes: 22 additions & 2 deletions .github/workflows/test.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test
name: Continuous Integration
on:
push:
branches:
Expand All @@ -24,7 +24,11 @@ jobs:
- name: Test
run: make test

- name: Release candidate
release:
name: Make release
runs-on: ubuntu-latest
steps:
- name: Make release candidate
uses: actions/[email protected]
id: author-date
with:
Expand All @@ -45,3 +49,19 @@ jobs:
target_commitish: context.sha,
body: "Release Candidate"
});
publish:
name: Publish release artefacts
runs-on: ubuntu-latest
steps:
- name: Generate artifacts
uses: skx/github-action-build@master
with:
builder: scripts/build.sh

- name: Publish artifacts
uses: skx/github-action-publish-binaries@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: 'terraform-provider-remotefile-*'
24 changes: 0 additions & 24 deletions .github/workflows/publish.yml

This file was deleted.

0 comments on commit 0f747a6

Please sign in to comment.