28 lines
544 B
YAML
28 lines
544 B
YAML
name: Publish Artifact
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
env:
|
|
REPOSITORY_USER: ${{ secrets.CI_BOT_USERNAME }}
|
|
REPOSITORY_TOKEN: ${{ secrets.CI_BOT_TOKEN }}
|
|
|
|
jobs:
|
|
publish:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
ref: master
|
|
token: ${{ secrets.CI_BOT_TOKEN }}
|
|
|
|
- uses: actions/setup-java@v4
|
|
with:
|
|
distribution: temurin
|
|
java-version: '17'
|
|
cache: 'gradle'
|
|
|
|
- name: Run Gradle
|
|
run: ./gradlew publish
|