Skip to content

Commit 91fea14

Browse files
authored
Migrate get-tag-name to docker-actions (#46)
See hazelcast/hazelcast-docker#1227
1 parent f72e5fe commit 91fea14

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Test get-tag-name action
2+
3+
on:
4+
workflow_call:
5+
6+
jobs:
7+
test:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout repository
11+
uses: actions/checkout@v6
12+
13+
- name: Run get-tag-name
14+
uses: ./get-tag-name
15+
with:
16+
VERSION: "5.4.1"

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ jobs:
4343
test-get-supported-platforms:
4444
uses: ./.github/workflows/test-get-supported-platforms.yml
4545

46+
test-get-tag-name:
47+
uses: ./.github/workflows/test-get-tag-name.yml
48+
4649
test-resolve-editions:
4750
uses: ./.github/workflows/test-resolve-editions.yml
4851

@@ -67,6 +70,7 @@ jobs:
6770
- test-get-jfrog-credentials
6871
- test-get-supported-jdks
6972
- test-get-supported-platforms
73+
- test-get-tag-name
7074
- test-resolve-editions
7175
- test-setup-maven-snapshot-internal
7276
- test-slack-notification

get-tag-name/action.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Get tag name from version
2+
3+
inputs:
4+
VERSION:
5+
required: true
6+
outputs:
7+
TAG_NAME:
8+
value: v${{ inputs.VERSION }}
9+
runs:
10+
using: "composite"
11+
steps:
12+
- shell: bash
13+
run: exit 0

0 commit comments

Comments
 (0)