Files
hyprspace/.github/workflows/release.yml
T
2021-06-07 21:31:43 -07:00

26 lines
684 B
YAML

name: Upload Release Asset
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
jobs:
build:
name: Upload Release Asset
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build project
run: |
chmod a+x .github/workflows/build.sh
./.github/workflows/build.sh ${GITHUB_REF##*/}
- name: Create Release
id: create_release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
chmod a+x .github/workflows/release.sh
./.github/workflows/release.sh