Skip to content

Commit 89dccaf

Browse files
committed
task: commit new GH workflow to publish package
1 parent c9c5c43 commit 89dccaf

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/release.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Publish Package to GitHub Packages
2+
on:
3+
push:
4+
tags:
5+
- "*"
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
packages: write
13+
14+
steps:
15+
- name: Checkout code with Git
16+
uses: actions/checkout@v4
17+
with:
18+
fetch-depth: 0
19+
20+
- name: Set up Kotlin
21+
uses: actions/setup-java@v4
22+
with:
23+
distribution: 'jetbrains'
24+
java-version: 22
25+
cache: gradle
26+
27+
- name: Build and Publish Artifact
28+
run: ./gradlew clean publish

0 commit comments

Comments
 (0)