Skip to content

Commit d0d6962

Browse files
committed
Clean up unused properties in CI
Signed-off-by: Mahmut Tumkaya <mahmut.tumkaya@alliander.com>
1 parent 83c534d commit d0d6962

1 file changed

Lines changed: 0 additions & 29 deletions

File tree

.github/workflows/java-gradle-ci.yml

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,6 @@ name: Java CI with Gradle for library
77
on:
88
push:
99
workflow_dispatch:
10-
inputs:
11-
local_image_tag:
12-
description: Local image tag used before push
13-
required: false
14-
type: string
15-
default: application:0.0.1-SNAPSHOT
16-
deploy_branch:
17-
description: Branch required to push image
18-
required: false
19-
type: string
20-
default: main
2110

2211
concurrency:
2312
group: ${{ github.workflow }}-${{ github.ref }}
@@ -27,18 +16,10 @@ jobs:
2716
build-and-test:
2817
name: Build & Test
2918
runs-on: ubuntu-latest
30-
permissions:
31-
id-token: write # Needed to load credentials
32-
contents: read # Needed to read repository (content)
3319
outputs:
3420
build_tag: ${{ steps.create_tag.outputs.build_tag }}
3521
environment:
3622
name: ci
37-
env:
38-
LOCAL_IMAGE_TAG: ${{ inputs.local_image_tag }}
39-
DEPLOY_BRANCH: ${{ inputs.deploy_branch }}
40-
IMAGE_REPOSITORY_PREFIX: ${{ inputs.image_repository_prefix }}${{ inputs.namespace }}
41-
IS_TAG: ${{ github.ref_type == 'tag' }}
4223
steps:
4324
- name: Checkout repository
4425
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # 7.0.1
@@ -67,16 +48,6 @@ jobs:
6748
- name: Build & Run Tests
6849
run: ./gradlew build --configuration-cache
6950

70-
- name: Create Build Tag
71-
id: create_tag
72-
uses: ./.github/actions/create-build-tag
73-
74-
- name: Repository Name
75-
id: repo
76-
shell: bash
77-
run: |
78-
echo "name=${GITHUB_REPOSITORY#*/}" >> "$GITHUB_OUTPUT"
79-
8051
reuse-compliance:
8152
name: REUSE Compliance
8253
uses: ./.github/workflows/reuse-compliance.yml

0 commit comments

Comments
 (0)