Skip to content

Commit

Permalink
add build test scripts;
Browse files Browse the repository at this point in the history
fix package name
  • Loading branch information
selcarpa committed May 28, 2024
1 parent 6c592bd commit 3da354c
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 3 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: auto-release

on:
push:
branches:
- '**'
tags-ignore:
- '**'
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write

steps:
- uses: actions/checkout@v4
name: checkout

- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
server-id: github

- name: Enable crossBuild
run: docker run --privileged --rm tonistiigi/binfmt --install all && docker buildx create --use --name multi-arch-builder

- name: Execute with Gradle
shell: bash
run: |
./gradlew github -x test
1 change: 1 addition & 0 deletions .github/workflows/gradle-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:

steps:
- uses: actions/checkout@v4
name: checkout

- name: Set up JDK 11
uses: actions/setup-java@v4
Expand Down
1 change: 0 additions & 1 deletion src/main/kotlin/MainKt.kt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import io.github.oshai.kotlinlogging.KotlinLogging
import kotlinx.coroutines.launch
import kotlinx.coroutines.runBlocking
import log.loadLogConfig
import log.startMemoryStatisticPrintPerSeconds
import log.startSpeedStatisticPrintPerSeconds
import model.config.Config.ConfigurationUrl
Expand Down
2 changes: 0 additions & 2 deletions src/main/kotlin/log/Log.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
package log

import ch.qos.logback.classic.Level
import ch.qos.logback.classic.Logger
import ch.qos.logback.classic.LoggerContext
Expand Down

0 comments on commit 3da354c

Please sign in to comment.