Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8935c38

Browse files
committedMay 5, 2020
build: use github action to build release
1 parent 29aad86 commit 8935c38

File tree

2 files changed

+24
-21
lines changed

2 files changed

+24
-21
lines changed
 

‎.github/workflows/release.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Release
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
publish-release:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Install
13+
run: yarn install
14+
- name: Build
15+
run: yarn run build
16+
- name: Upload
17+
uses: actions/upload-release-asset@v1.0.2
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
with:
21+
upload_url: ${{ github.event.release.upload_url }}
22+
asset_path: ./valetudo
23+
asset_name: valetudo
24+
asset_content_type: binary/octet-stream

‎.travis.yml

-21
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.