Skip to content

Commit 48a787a

Browse files
committed
refactor: extract setup-build from publish-maven-artifacts
1 parent 813c1bf commit 48a787a

File tree

5 files changed

+5
-2
lines changed

5 files changed

+5
-2
lines changed

.github/actions/publish-maven-artifacts/action.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ inputs:
1818
runs:
1919
using: "composite"
2020
steps:
21-
- uses: eclipse-edc/.github/.github/actions/setup-build@main
2221

2322
- uses: eclipse-edc/.github/.github/actions/import-gpg-key@main
2423
with:

.github/workflows/nightly.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v4
17+
- uses: eclipse-edc/.github/.github/actions/setup-build@main
1718
- id: get-version
1819
run: |
1920
echo "VERSION=$(IFS=.- read -r RELEASE_VERSION_MAJOR RELEASE_VERSION_MINOR RELEASE_VERSION_PATCH SNAPSHOT<<<$(grep "version" gradle.properties | awk -F= '{print $2}') && echo $RELEASE_VERSION_MAJOR.$RELEASE_VERSION_MINOR.$RELEASE_VERSION_PATCH-$(date +"%Y%m%d")-SNAPSHOT)" >> "$GITHUB_OUTPUT"

.github/workflows/prepare-release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959
- uses: actions/checkout@v4
6060
with:
6161
ref: main
62+
- uses: eclipse-edc/.github/.github/actions/setup-build@main
6263
- uses: eclipse-edc/.github/.github/actions/bump-version@main
6364
with:
6465
base_version: ${{ inputs.version }}
@@ -77,7 +78,7 @@ jobs:
7778
- uses: actions/checkout@v4
7879
with:
7980
ref: ${{ needs.Prepare-Release.outputs.RELEASE_REF }}
80-
81+
- uses: eclipse-edc/.github/.github/actions/setup-build@main
8182
- uses: eclipse-edc/.github/.github/actions/publish-maven-artifacts@main
8283
with:
8384
gpg-private-key: ${{ secrets.ORG_GPG_PRIVATE_KEY }}

.github/workflows/publish-snapshot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
13+
- uses: eclipse-edc/.github/.github/actions/setup-build@main
1314
- uses: eclipse-edc/.github/.github/actions/publish-maven-artifacts@main
1415
with:
1516
gpg-private-key: ${{ secrets.ORG_GPG_PRIVATE_KEY }}

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
TAG: ${{ steps.set-tag.outputs.TAG }}
2121
steps:
2222
- uses: actions/checkout@v4
23+
- uses: eclipse-edc/.github/.github/actions/setup-build@main
2324

2425
- id: set-version
2526
run: |

0 commit comments

Comments
 (0)