Files
traces/.github/workflows/release.yml
T
Joe ElliottandGitHub bb7a4ea74c Rename master to main (#655)
* master => main

Signed-off-by: Joe Elliott <number101010@gmail.com>

* master => main

Signed-off-by: Joe Elliott <number101010@gmail.com>

* master => main

Signed-off-by: Joe Elliott <number101010@gmail.com>
2021-04-20 08:03:37 -04:00

28 lines
577 B
YAML

name: Release
on:
push:
tags:
- '**'
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Release
if: startsWith(github.ref, 'refs/tags/v')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
make release
- name: Upload release artifacts
if: startsWith(github.ref, 'refs/tags/v')
uses: actions/upload-artifact@v2
with:
name: release-artifacts
path: |
dist/
!dist/*/*