Skip to content

Commit 5c41aa7

Browse files
committed
debug: change order
1 parent 73049b7 commit 5c41aa7

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,6 @@ jobs:
3030
- name: Package core (will be uploaded to github release)
3131
shell: bash
3232
run: sbt -v "show core/Universal/packageBin"
33-
- name: Deploy to sonatype and release to maven central
34-
shell: bash
35-
run: sbt -v ciReleaseTagNextVersion ciReleaseSonatype
36-
env:
37-
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
38-
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
39-
- name: Export ENV vars
40-
run: |
41-
echo "LATEST_TAG=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV
42-
echo $GITHUB_ENV
4333
- name: debug stuff
4434
run: |
4535
pwd
@@ -56,8 +46,18 @@ jobs:
5646
echo XXX5
5747
ls -la /home/runner/work/scala-repl-pp/scala-repl-pp/core/target/universal/
5848
echo XXX5
59-
- name: Create Release
49+
- name: Create github release
6050
uses: ncipollo/release-action@v1
6151
with:
6252
tag: ${{ env.LATEST_TAG }}
6353
artifacts: "core/target/universal/*.zip"
54+
- name: Deploy to sonatype and release to maven central
55+
shell: bash
56+
run: sbt -v ciReleaseTagNextVersion ciReleaseSonatype
57+
env:
58+
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
59+
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
60+
- name: Export ENV vars
61+
run: |
62+
echo "LATEST_TAG=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV
63+
echo $GITHUB_ENV

0 commit comments

Comments
 (0)