Skip to content

Commit 778bcac

Browse files
committed
Add manual workflow to release expression-compiler
1 parent c207218 commit 778bcac

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/manual-release.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,19 @@ on:
44
inputs:
55
scala-version:
66
required: true
7-
tag:
8-
description: 'Example v3.0.6'
9-
default: main
10-
required: true
117

128
jobs:
139
test:
1410
strategy:
1511
fail-fast: false
1612
name: Test with Scala ${{ inputs.scala-version }} on ${{ inputs.tag }}
1713
runs-on: ubuntu-latest
14+
env:
15+
SCALA_VERSION: ${{ inputs.scala-version }}
1816
steps:
1917
- uses: actions/checkout@v3
2018
with:
2119
submodules: true
22-
ref: ${{ inputs.tag }}
2320
- uses: coursier/[email protected]
2421
with:
2522
jvm: 'temurin:1.17.0.3'
@@ -28,7 +25,7 @@ jobs:
2825
run: sbt test
2926
shell: bash
3027
publish:
31-
if: startsWith(inputs.tag, 'v')
28+
if: startsWith(github.ref, 'refs/tags/v')
3229
runs-on: ubuntu-latest
3330
env:
3431
SCALA_VERSION: ${{ inputs.scala-version }}
@@ -40,7 +37,6 @@ jobs:
4037
- uses: actions/checkout@v3
4138
with:
4239
submodules: true
43-
ref: ${{ inputs.tag }}
4440
- uses: coursier/[email protected]
4541
with:
4642
app: sbt

0 commit comments

Comments
 (0)