Merge pull request #140 from InkApplications/dependabot/github_action… #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Latest Build | |
on: | |
push: | |
branches: [master] | |
jobs: | |
tests: | |
uses: inkapplications/.github/.github/workflows/[email protected] | |
build: | |
needs: [tests] | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Checkout | |
uses: actions/[email protected] | |
- | |
name: Assemble | |
run: ./gradlew assembleDist | |
- | |
name: Prepare Archives | |
run: cp cli/build/distributions/shade-*.zip cli/build/distributions/shade.zip && cp cli/build/distributions/shade-*.tar cli/build/distributions/shade.tar | |
- | |
name: Archive CLI Tar | |
uses: actions/[email protected] | |
with: | |
name: shade.tar | |
path: cli/build/distributions/shade.tar | |
- | |
name: Archive CLI Zip | |
uses: actions/[email protected] | |
with: | |
name: shade.zip | |
path: cli/build/distributions/shade.zip |