Skip to content

Commit

Permalink
Create release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
diareuse authored Mar 13, 2022
1 parent 273be7f commit 182e695
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Release Packages

on:
push:
tags:
- '*'

workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: 'recursive'
fetch-depth: 0

- name: Setup Java
uses: actions/[email protected]
with:
java-version: 11

- name: Build Library
run: ./gradlew assembleOutputs

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: dragapult-app/build/distributions/dragapult-app.zip

0 comments on commit 182e695

Please sign in to comment.