Skip to content

build: update requirements #59

build: update requirements

build: update requirements #59

Workflow file for this run

name: CI
on:
push:
branches-ignore:
- master
pull_request:
branches-ignore:
- master
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Prepare build
run: |
sed -i "s/{{release_branch}}/$GITHUB_REF_NAME/" .releaserc* || exit 1
mv .releaserc1.yml .releaserc.yml
- name: Setup Java JDK
uses: actions/[email protected]
with:
distribution: "temurin"
java-version: "17"
- name: Version
uses: cycjimmy/[email protected]
with:
semantic_version: "18.0.0"
extra_plugins: |
@semantic-release/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.API_GITHUB_TOKEN }}
- name: Build
run: |
sed -i "s/mod_version=.*/mod_version=$(cat .version)/" gradle.properties || exit 1
./gradlew build
mv .releaserc2.yml .releaserc.yml
- name: Release
uses: cycjimmy/[email protected]
with:
semantic_version: "18.0.0"
env:
GITHUB_TOKEN: ${{ secrets.API_GITHUB_TOKEN }}