mirror of
https://github.com/LITW-Refined/GTNH-Actions-Workflows.git
synced 2025-12-23 11:18:32 +00:00
Dynamically use java 25 for v2 buildscripts and 21 for v1
This commit is contained in:
16
templates/build-and-test.yml
Normal file
16
templates/build-and-test.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
name: Build and test
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ master, main ]
|
||||
push:
|
||||
branches: [ master, main ]
|
||||
|
||||
jobs:
|
||||
build-and-test:
|
||||
uses: GTNewHorizons/GTNH-Actions-Workflows/.github/workflows/build-and-test.yml@master
|
||||
secrets: inherit
|
||||
# with:
|
||||
# timeout: 150
|
||||
# workspace: setupDecompWorkspace
|
||||
# client-only: false
|
||||
13
templates/release-tags.yml
Normal file
13
templates/release-tags.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
name: Release tagged build
|
||||
|
||||
on:
|
||||
push:
|
||||
tags: [ '*' ]
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
release-tags:
|
||||
uses: GTNewHorizons/GTNH-Actions-Workflows/.github/workflows/release-tags.yml@master
|
||||
secrets: inherit
|
||||
Reference in New Issue
Block a user