Set up project structure
This commit is contained in:
27
.gitea/publish-artifact.yaml
Normal file
27
.gitea/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-artifact:
|
||||
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
|
||||
20
.gitea/workflows/publish-test.yaml
Normal file
20
.gitea/workflows/publish-test.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
name: Publish Version Catalog
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
BRANCH_REFERENCE:
|
||||
description: Branch or tag to publish
|
||||
required: true
|
||||
default: master
|
||||
|
||||
jobs:
|
||||
call-publish:
|
||||
uses: aura-ascend/common-workflows/.gitea/workflows/publish-artifact.yml@master
|
||||
with:
|
||||
JAVA_VERSION: 17
|
||||
BRANCH_REFERENCE: ${{ github.event.inputs.BRANCH_REFERENCE }}
|
||||
GRADLE_TASK: publish
|
||||
secrets:
|
||||
CI_BOT_USERNAME: ${{ secrets.CI_BOT_USERNAME }}
|
||||
CI_BOT_TOKEN: ${{ secrets.CI_BOT_TOKEN }}
|
||||
Reference in New Issue
Block a user