forked from Hithomelabs/CFTunnels
Trying to figure out RCA
This commit is contained in:
parent
3742fb53af
commit
ccc65aef8d
@ -15,6 +15,13 @@ jobs:
|
|||||||
distribution: 'zulu'
|
distribution: 'zulu'
|
||||||
java-version: '17'
|
java-version: '17'
|
||||||
- name: Validate Gradle Wrapper
|
- name: Validate Gradle Wrapper
|
||||||
|
- name: Get latest tag dry run
|
||||||
|
run: |
|
||||||
|
echo "VERSION=$(git describe --tags --abbrev=0)"
|
||||||
|
echo $VERSION
|
||||||
|
echo "MAJOR=$(echo $VERSION | cut -d "." -f 1)"
|
||||||
|
echo "MINOR=$(echo $VERSION | cut -d "." -f 2)"
|
||||||
|
echo "PATCH=$(echo $VERSION | cut -d "." -f 3)"
|
||||||
uses: gradle/actions/wrapper-validation@v3
|
uses: gradle/actions/wrapper-validation@v3
|
||||||
- name: Gradle build
|
- name: Gradle build
|
||||||
run: ./gradlew build --info
|
run: ./gradlew build --info
|
||||||
@ -7,7 +7,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: catthehacker/ubuntu:runner-latest
|
image: catthehacker/ubuntu:act-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@ -25,6 +25,7 @@ jobs:
|
|||||||
- name: Get latest tag
|
- name: Get latest tag
|
||||||
run: |
|
run: |
|
||||||
echo "VERSION=$(git describe --tags --abbrev=0)"
|
echo "VERSION=$(git describe --tags --abbrev=0)"
|
||||||
|
echo $VERSION
|
||||||
echo "MAJOR=$(echo $VERSION | cut -d "." -f 1)"
|
echo "MAJOR=$(echo $VERSION | cut -d "." -f 1)"
|
||||||
echo "MINOR=$(echo $VERSION | cut -d "." -f 2)"
|
echo "MINOR=$(echo $VERSION | cut -d "." -f 2)"
|
||||||
echo "PATCH=$(echo $VERSION | cut -d "." -f 3)"
|
echo "PATCH=$(echo $VERSION | cut -d "." -f 3)"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user