CI: Release on each commit (#7)

This commit is contained in:
folex 2021-03-22 15:38:31 +03:00 committed by GitHub
parent b5e4dc1caa
commit e37f30a4eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

33
.github/workflows/release.yml vendored Normal file
View File

@ -0,0 +1,33 @@
name: "release"
on:
push:
# tags:
# - "v*"
branches:
- "master"
jobs:
release:
name: "Release"
runs-on: "ubuntu-latest"
steps:
- name: Checkout repository
uses: actions/checkout@v2
### Setup
- uses: olafurpg/setup-scala@v10
- name: Assembly
run: sbt assembly
### Update & build
### Create release
- uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: false
files: |
target/scala-2.13/aqua-hll.jar