Skip to content

Commit 623a9a6

Browse files
committed
Revert "Update publish workflow to use inline gradle publish command"
This reverts commit aa77ff1.
1 parent aa77ff1 commit 623a9a6

1 file changed

Lines changed: 6 additions & 17 deletions

File tree

.github/workflows/publish-dependency.yml

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,9 @@ on:
44
tags:
55
- "*"
66
jobs:
7-
publish:
8-
runs-on: ubuntu-latest
9-
steps:
10-
- name: Checkout project sources
11-
uses: actions/checkout@v4
12-
13-
- name: Setup Gradle
14-
uses: gradle/gradle-build-action@v3
15-
16-
- name: Grant execute permission for gradlew
17-
run: chmod +x gradlew
18-
19-
- name: Publish to GitHub Packages
20-
run: ./gradlew publish -Partifact_version=${{ github.ref_name }}
21-
env:
22-
GITHUB_TOKEN: ${{ secrets.PAT }}
23-
GITHUB_ACTOR: ${{ github.actor }}
7+
call-reusable-workflow:
8+
uses: intisy/workflows/.github/workflows/publish-dependency.yml@main
9+
with:
10+
repository: ${{ github.repository }}
11+
secrets:
12+
envPAT: ${{ secrets.PAT }}

0 commit comments

Comments
 (0)