Skip to content

Commit

Permalink
Create build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Snider authored Mar 23, 2022
1 parent b82f3b2 commit bd58d8a
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build

on:
push:
branches:
- 'main'
- 'v*'
tags:
- 'v*'
pull_request:
branches:
- 'main'
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: mkdir build && cp lthn.json build/lthn.json
- uses: actions/upload-artifact@v2
with:
name: dist
path: build
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: build

0 comments on commit bd58d8a

Please sign in to comment.