diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ae190104d..53bf340f7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,16 +4,7 @@ on: [push, pull_request] jobs: build: - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ - ubuntu-20.04, - # macos-10.15, - windows-2022 - ] - fail-fast: false - name: ${{ matrix.os }} + runs-on: ubuntu-20.04 steps: - name: Git checkout uses: actions/checkout@v2 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6412f3ec5..5dcbd7dd8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -6,7 +6,7 @@ on: - master jobs: - build: + publish: runs-on: ubuntu-20.04 steps: - name: Git checkout diff --git a/jreleaser.gradle b/jreleaser.gradle index c5e0de7b6..49b669e95 100644 --- a/jreleaser.gradle +++ b/jreleaser.gradle @@ -25,7 +25,6 @@ jreleaser { release { github { - skipRelease = !isFullRelease skipTag = !isFullRelease owner = 'xpipe-io' overwrite = false @@ -35,13 +34,15 @@ jreleaser { files = true artifacts = true - checksums = false + checksums = true signatures = false - changelog { - enabled = true - formatted = 'ALWAYS' - contentTemplate = isFullRelease ? file('misc/github_full.tpl') : file('misc/github_pre.tpl') + if (isFullRelease) { + changelog { + enabled = true + formatted = 'ALWAYS' + contentTemplate = isFullRelease ? file('misc/github_full.tpl') : file('misc/github_pre.tpl') + } } } } @@ -75,11 +76,13 @@ jreleaser { } } - announce { - discord { - active = 'RELEASE' - webhook = proj.hasProperty("XPIPE_DISCORD_WEBHOOK") ? proj.property("XPIPE_DISCORD_WEBHOOK") : System.getenv("XPIPE_DISCORD_WEBHOOK") - messageTemplate = isFullRelease ? 'misc/discord_full.tpl' : 'misc/discord_pre.tpl' + if (isFullRelease) { + announce { + discord { + active = 'RELEASE' + webhook = proj.hasProperty("XPIPE_DISCORD_WEBHOOK") ? proj.property("XPIPE_DISCORD_WEBHOOK") : System.getenv("XPIPE_DISCORD_WEBHOOK") + messageTemplate = isFullRelease ? 'misc/discord_full.tpl' : 'misc/discord_pre.tpl' + } } } } diff --git a/misc/version b/misc/version index 86d494649..5d5f19abe 100644 --- a/misc/version +++ b/misc/version @@ -1 +1 @@ -0.0.2.0 \ No newline at end of file +0.0.2.1-SNAPSHOT \ No newline at end of file