Skip to content

Commit

Permalink
[ci skip] build: back to release
Browse files Browse the repository at this point in the history
  • Loading branch information
zlataovce authored Dec 6, 2023
1 parent 3308f1b commit 81395e9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
bundle:
type: boolean
description: Build a mapping bundle.
web:
type: boolean
description: Build the documentation site.

jobs:
build:
Expand All @@ -23,18 +26,20 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Publish bundle with Gradle
if: ${{ github.event.inputs.bundle == 'true' || !contains(github.event.head_commit.message, 'no bundle') }}
if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.bundle == 'true' }}
run: ./gradlew publish
env:
REPO_USERNAME: ${{ secrets.REPO_USERNAME }}
REPO_PASSWORD: ${{ secrets.REPO_PASSWORD }}
- name: Publish web with Gradle
run: ./gradlew buildWeb
if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.web == 'true' }}
env:
REPO_USERNAME: ${{ secrets.REPO_USERNAME }}
REPO_PASSWORD: ${{ secrets.REPO_PASSWORD }}
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.web == 'true' }}
with:
folder: build/takenaka/web
single-commit: true
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ group = "me.kcra.takenaka" // change me
// format: <oldest version>+<newest version>[-SNAPSHOT]
// this is included in META-INF/MANIFEST.MF under Implementation-Version
// be nice to people who use the bundles and don't change the format
version = "1.8.8+1.20.3-SNAPSHOT" // change me
version = "1.8.8+1.20.3" // change me

/**
* The root cache workspace.
Expand Down

0 comments on commit 81395e9

Please sign in to comment.