Trying to figure out RCA #30

Merged
hitanshu merged 2 commits from hitanshu/CFTunnels:tags into test 2025-06-05 18:03:12 +00:00
2 changed files with 9 additions and 1 deletions
Showing only changes of commit ccc65aef8d - Show all commits

View File

@ -15,6 +15,13 @@ jobs:
distribution: 'zulu'
java-version: '17'
- 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
- name: Gradle build
run: ./gradlew build --info

View File

@ -7,7 +7,7 @@ jobs:
build:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:runner-latest
image: catthehacker/ubuntu:act-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
@ -25,6 +25,7 @@ jobs:
- name: Get latest tag
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)"