mirror of
https://github.com/FancyInnovations/FancyPlugins.git
synced 2025-12-05 23:33:36 +00:00
ci, fancyholograms: add snapshot deployment config
This commit is contained in:
@@ -35,5 +35,5 @@ jobs:
|
||||
|
||||
- name: Deploy
|
||||
run:
|
||||
- cd tools/deployment/build/libs
|
||||
- java -jar deployment.jar ../../../../plugins/fancyholograms/deploymentConfig.json
|
||||
cd tools/deployment/build/libs &&
|
||||
java -jar deployment.jar ../../../../plugins/fancyholograms/release_deployment_config.json
|
||||
39
.github/workflows/deploy-snapshot-fancyholograms.yml
vendored
Normal file
39
.github/workflows/deploy-snapshot-fancyholograms.yml
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
name: Deploy FancyHolograms (snapshot)
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
build-plugins:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Cache Gradle dependencies
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/.gradle
|
||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gradle-
|
||||
|
||||
- name: Setup Java
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
distribution: 'adopt'
|
||||
java-version: '21'
|
||||
|
||||
- name: Modify gradlew permissions
|
||||
run: chmod +x ./gradlew
|
||||
|
||||
- name: Build FancyHolograms
|
||||
run: ./gradlew :plugins:fancyholograms:shadowJar
|
||||
|
||||
- name: Build deployment tool
|
||||
run: ./gradlew :tools:deployment:shadowJar
|
||||
|
||||
- name: Deploy
|
||||
run:
|
||||
cd tools/deployment/build/libs &&
|
||||
java -jar deployment.jar ../../../../plugins/fancyholograms/snapshot_deployment_config.json
|
||||
27
plugins/fancyholograms/snapshot_deployment_config.json
Normal file
27
plugins/fancyholograms/snapshot_deployment_config.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"project_id": "5QNgOj66",
|
||||
"plugin_jar_path": "../../../../plugins/fancyholograms/build/libs/FancyHolograms-%VERSION%.jar",
|
||||
"changelog_path": "../../../../plugins/fancyholograms/CHANGELOG.md",
|
||||
"version_path": "../../../../plugins/fancyholograms/VERSION",
|
||||
"supported_versions":[
|
||||
"1.19.4",
|
||||
"1.20",
|
||||
"1.20.1",
|
||||
"1.20.2",
|
||||
"1.20.3",
|
||||
"1.20.4",
|
||||
"1.20.5",
|
||||
"1.20.6",
|
||||
"1.21",
|
||||
"1.21.1",
|
||||
"1.21.2",
|
||||
"1.21.3",
|
||||
"1.21.4"
|
||||
],
|
||||
"channel": "alpha",
|
||||
"loaders": [
|
||||
"paper",
|
||||
"folia"
|
||||
],
|
||||
"featured": false
|
||||
}
|
||||
Reference in New Issue
Block a user