Set up project structure
This commit is contained in:
27
.gitea/workflows/publish-artifact.yaml
Normal file
27
.gitea/workflows/publish-artifact.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
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@v5
|
||||
with:
|
||||
fetch-depth: 0
|
||||
ref: master
|
||||
token: ${{ secrets.CI_BOT_TOKEN }}
|
||||
|
||||
- uses: actions/setup-java@v5
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: '17'
|
||||
cache: 'gradle'
|
||||
|
||||
- name: Run Gradle
|
||||
run: ./gradlew publish
|
||||
Reference in New Issue
Block a user