FunctionalStorage/.github/workflows/publish.yaml

40 lines
1.1 KiB
YAML
Raw Normal View History

2022-01-26 08:56:16 -06:00
name: Publish action
on:
create:
tag:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v2
- name: validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: setup jdk 17
uses: actions/setup-java@v1
with:
java-version: "17"
- name: make gradle wrapper executable
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew
- name: build
run: ./gradlew build
- name: Publish Minecraft Mods Forge
uses: Kir-Antipov/mc-publish@v2.1
with:
curseforge-id: 556861
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
files-primary: build/libs/!(*-@(dev|sources)).jar
files-secondary: build/libs/*-@(dev|sources).jar
version-type: beta
loaders: forge
2022-03-21 15:02:11 -05:00
game-versions: 1.18.2
2022-01-26 08:56:16 -06:00
java: 17
name: ""
changelog: "https://github.com/Buuz135/FunctionalStorage/commits/main"
dependencies: |
titanium | depends