Skip to content

Commit

Permalink
Add github action to build and upload artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
HusseinKabbout committed Feb 17, 2021
1 parent 65dbd60 commit 6272d8c
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Java CI

on: [push]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Set up JDK 11.0.10
uses: actions/setup-java@v1
with:
java-version: '11.0.10'

- name: Build with Gradle
run: gradle build

- name: Create release
uses: ncipollo/release-action@v1
with:
name: latest-ci-build
tag: latest-ci-build
artifacts: "./dist/gpkg2dxf.zip"
allowUpdates: true
replacesArtifacts: true
artifactContentType: "application/zip"
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 6272d8c

Please sign in to comment.