Skip to content

Commit

Permalink
Use GitHub action for uploading release asset
Browse files Browse the repository at this point in the history
  • Loading branch information
igboyes committed Sep 28, 2021
1 parent c0755fb commit 95843df
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: ci

on:
release:
types: [published]

jobs:
gh:
runs-on: ubuntu-20.04
container:
image: python:3.9-buster
steps:
- uses: actions/checkout@v2
- name: Build
run: |
pip install git+https://github.com/virtool/virtool-cli.git
virtool build -src src -V ${{ github.ref }}
gzip reference.json
- name: Release
uses: softprops/action-gh-release@v1
with:
files: reference.json.gz

0 comments on commit 95843df

Please sign in to comment.