Skip to content

Commit 7dffc89

Browse files
committed
chore: 🤖 Merge release sbt and github workflows
1 parent 1799181 commit 7dffc89

File tree

2 files changed

+16
-24
lines changed

2 files changed

+16
-24
lines changed

‎.github/workflows/release-github.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

‎.github/workflows/release-sbt.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
build:
1313
uses: ./.github/workflows/build.yml
1414

15-
publish-mvn:
16-
name: Publish Maven Package
15+
publish-sbt:
16+
name: Publish scala package
1717
needs: [pre-release-check, build]
1818
runs-on: ubuntu-latest
1919
environment: Release
@@ -25,10 +25,24 @@ jobs:
2525
with:
2626
distribution: "temurin"
2727
java-version: "11"
28+
2829
- uses: cucumber/[email protected]
2930
with:
3031
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
3132
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}
3233
nexus-username: cukebot
3334
nexus-password: ${{ secrets.SONATYPE_PASSWORD }}
3435
working-directory: .
36+
37+
create-github-release:
38+
name: Create GitHub Release and Git tag
39+
runs-on: ubuntu-latest
40+
needs: [publish-sbt]
41+
environment: Release
42+
permissions:
43+
contents: write
44+
steps:
45+
- uses: actions/checkout@v2
46+
- uses: cucumber/[email protected]
47+
with:
48+
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)