Skip to content

Commit

Permalink
release action
Browse files Browse the repository at this point in the history
  • Loading branch information
kcberg committed Jan 31, 2024
1 parent 1cf1c75 commit 9b5a046
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
name: Release
on:
workflow_dispatch:
inputs:
tag_name:
type: string
required: true
description: 'the release name, use sem ver'
branches: [ main ]

jobs:

build:
release:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Gradle assemble
run: './gradlew :assemble'

- name: Tag
run: |
git tag ${{ inputs.tag_name }}
git push origin ${{ inputs.tag_name }}
- uses: softprops/action-gh-release@v1
with:
files: |
Expand Down

0 comments on commit 9b5a046

Please sign in to comment.