We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cf516a commit b752e63Copy full SHA for b752e63
1 file changed
.github/workflows/publish-dependency.yml
@@ -1,12 +1,23 @@
1
-name: Publish Dependency
2
-on:
3
- push:
4
- tags:
5
- - "*"
6
-jobs:
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 }}
+name: Publish Dependency
+on:
+ push:
+ tags:
+ - "*"
+jobs:
+ publish:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout project sources
+ uses: actions/checkout@v4
+
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 }}
0 commit comments