Change build action to run on pull requests (#251)
This commit is contained in:
@@ -4,17 +4,18 @@ on:
|
||||
tags:
|
||||
- v[0-9].[0-9]+.[0-9]+-rc.[0-9]+
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-18.04
|
||||
release_candidate_to_maven_central:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Get OPENRNDR release tag
|
||||
run: echo "OPENRNDR_VERSION=$(git ls-remote --refs --tags https://github.com/openrndr/openrndr | cut --delimiter='/' --fields=3 | sort --version-sort | tail --lines=1)" >> $GITHUB_ENV
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Get the version
|
||||
id: get_version
|
||||
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/}
|
||||
- uses: actions/setup-java@v1
|
||||
- uses: actions/setup-java@v2
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: 17
|
||||
- name: Build ORX
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user