Skip to content

Commit

Permalink
build: #2 Manual trigger for release
Browse files Browse the repository at this point in the history
  • Loading branch information
namuan committed Dec 30, 2022
1 parent b86d87c commit 747e2e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: Build Native Image

on:
push:
branches: [ "main" ]
workflow_dispatch:

jobs:
precheck:
Expand Down Expand Up @@ -82,6 +81,7 @@ jobs:
release:
needs: [ precheck, build ]
if: endsWith(${{ needs.precheck.outputs.VERSION }}, '-SNAPSHOT')
runs-on: ubuntu-latest

steps:
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<artifactId>kt-cli-app</artifactId>
<groupId>com.github.namuan.kt_cli_app</groupId>
<version>0.1.0</version>
<version>0.1.0-SNAPSHOT</version>
<packaging>jar</packaging>

<name>kt-cli-app</name>
Expand Down

0 comments on commit 747e2e2

Please sign in to comment.