Skip to content

Commit 34a8b47

Browse files
author
Julien Ruaux
committed
Upgraded to release action v2
1 parent 5f20338 commit 34a8b47

File tree

2 files changed

+19
-6
lines changed

2 files changed

+19
-6
lines changed

.github/workflows/early-access.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
uses: actions/checkout@v2
1515

1616
- name: Release
17-
uses: redis-field-engineering/redis-release-action@v1
17+
uses: redis-field-engineering/redis-release-action@v2
1818
with:
1919
gpg-key-id: ${{ secrets.GPG_KEY_ID }}
2020
gpg-public-key: ${{ secrets.GPG_PUBLIC_KEY }}

.github/workflows/release.yml

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,12 @@ jobs:
1414
- name: Checkout
1515
uses: actions/checkout@v2
1616

17-
- name: Set version
18-
uses: redis-field-engineering/redis-version-action@v1
19-
with:
20-
version: ${{ github.event.inputs.version }}
17+
- name: Version
18+
run: |
19+
echo ${{ github.event.inputs.version }} > VERSION
2120
2221
- name: Release
23-
uses: redis-field-engineering/redis-release-action@v1
22+
uses: redis-field-engineering/redis-release-action@v2
2423
with:
2524
gpg-key-id: ${{ secrets.GPG_KEY_ID }}
2625
gpg-public-key: ${{ secrets.GPG_PUBLIC_KEY }}
@@ -30,10 +29,24 @@ jobs:
3029
sonatype-password: ${{ secrets.SONATYPE_PASSWORD }}
3130
github-token: ${{ secrets.GIT_ACCESS_TOKEN }}
3231

32+
- name: JReleaser output
33+
if: always()
34+
uses: actions/upload-artifact@v2
35+
with:
36+
name: artifact
37+
path: |
38+
out/jreleaser/trace.log
39+
out/jreleaser/output.properties
40+
3341
- name: Upload test reports
3442
if: failure()
3543
uses: actions/upload-artifact@v2
3644
with:
3745
name: test-reports
3846
path: |
3947
build/reports/aggregate-tests/
48+
49+
- name: Set Version
50+
uses: redis-field-engineering/redis-version-action@v2
51+
with:
52+
version: ${{ github.event.inputs.version }}

0 commit comments

Comments
 (0)