Skip to content

修复 map 可能会被撑爆的 bug #53

修复 map 可能会被撑爆的 bug

修复 map 可能会被撑爆的 bug #53

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Build
run: |
cd $GITHUB_WORKSPACE/src/main/kotlin
if [ ! -z "${{ secrets.XXTEA_KEY }}" ]; then
sed -i "s/20221209/"${{ secrets.XXTEA_KEY }}"/" ./Main.kt
fi
cd $GITHUB_WORKSPACE
chmod +x ./gradlew
./gradlew jar
- name: Upload build artifact
uses: actions/upload-artifact@v3
with:
name: ksugmbot
path: build/libs/*.jar