Skip to content

Commit

Permalink
update publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
reymondzzzz committed Dec 19, 2023
1 parent 9464331 commit a79c693
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
name: Release

on:
# Trigger the workflow on pushes to only the 'main' branch (this avoids duplicate checks being run e.g. for dependabot pull requests)
push:
tags:
- v1.*
workflow_dispatch:
inputs:
lsp_branch:
required: true
description: "lsp_branch"
default: "main"
type: string
jobs:

# Run Gradle Wrapper Validation Action to verify the wrapper's checksum
Expand Down Expand Up @@ -51,7 +58,7 @@ jobs:
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: build.yml
repo: smallcloudai/refact-lsp
branch: main
branch: ${{ github.event.inputs.lsp_branch }}
path: ./src/main/resources/bin

# Validate wrapper
Expand Down

0 comments on commit a79c693

Please sign in to comment.