Add entrypoint to java_runtime_image #141
Workflow file for this run
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: Java rules | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: ./pleasew test | |
release: | |
needs: [test] | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/master' | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: build | |
run: ./pleasew build //tools/... | |
- name: Release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
uses: tatskaari/release-action@master | |
with: | |
release-files: plz-out/package | |
- name: Release tool | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
uses: thought-machine/release-action@master | |
with: | |
version-file: tools/VERSION | |
change-log-file: tools/ChangeLog | |
release-prefix: tools | |
release-files: plz-out/package |