Update build and deploy workflows to support branch-specific builds and Java setup
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
name: Build
|
||||
on: [push]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- '*'
|
||||
jobs:
|
||||
build:
|
||||
runs-on: standard-latest
|
||||
|
||||
@@ -10,6 +10,13 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Java
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'temurin' # See 'Supported distributions' for available options
|
||||
java-version: '21'
|
||||
cache: 'gradle'
|
||||
|
||||
- name: Login
|
||||
with: # Set the secret as an input
|
||||
package_rw: ${{ secrets.PACKAGE_RW }}
|
||||
|
||||
Reference in New Issue
Block a user