Skip to content

Commit

Permalink
Merge pull request #141 from jaredsburrows/pr/jaredsburrows/github-ac…
Browse files Browse the repository at this point in the history
…tions-artifacts

add files for artifacts
  • Loading branch information
jaredsburrows authored Dec 30, 2020
2 parents 3050406 + 1275adc commit 5048b76
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: build

on: [push, pull_request]

env:
GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false -Dkotlin.incremental=false"

jobs:
jvm:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -38,13 +41,16 @@ jobs:
- name: Run Build
run: ./gradlew clean ktlintCheck build jar docsJar sourcesJar testsJar reportsZip generatePomFileForMavenPublication -s --scan

- name: Upload Artifacts to Github
- name: Upload Artifacts
uses: actions/upload-artifact@v2
if: always()
with:
name: gradle-license-plugin-${{ github.workflow }}-${{ github.run_id }}
path: |
build/libs
build/outputs
build/publications
build/distributions
build/reports
build/test-results
if-no-files-found: warn
Expand Down

0 comments on commit 5048b76

Please sign in to comment.