Skip to content

Commit

Permalink
wip: github releases
Browse files Browse the repository at this point in the history
  • Loading branch information
magbeat committed Apr 17, 2020
1 parent 37221e3 commit 7fb6b1b
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/create-release-from-tag.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Build and release Artifacts
name: Build Release Artifacts and Create Release

# on events
on:
release:
types:
- created
push:
tags:
- "v*"

jobs:
generate:
Expand All @@ -20,9 +20,10 @@ jobs:
name: 'update-tag'
compress: 'false'
dest: 'dist'
- name: Upload build-artifacts
uses: skx/github-action-publish-binaries@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create Release
uses: "marvinpinto/action-automatic-releases@latest"
with:
args: "./dist/*"
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: |
dist/*

0 comments on commit 7fb6b1b

Please sign in to comment.