Skip to content

Commit

Permalink
Test tag
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco.bonni committed Jan 12, 2024
1 parent 57bae3c commit c2500af
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/tag.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Tag

on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'

jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1

- name: Copy CI gradle.properties
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties

- name: Set up JDK 18
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 18

- name: Setup Gradle
uses: gradle/gradle-build-action@v2

- name: Check tag
run: echo "Tag name from GITHUB_REF_NAME: $GITHUB_REF_NAME"

0 comments on commit c2500af

Please sign in to comment.