Skip to content

Commit d4004df

Browse files
author
Julien Ruaux
committed
Upgraded to release action v2
1 parent a5734f6 commit d4004df

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

.github/workflows/early-access.yml

Lines changed: 2 additions & 2 deletions
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 }}
@@ -24,7 +24,7 @@ jobs:
2424
sonatype-password: ${{ secrets.SONATYPE_PASSWORD }}
2525
github-token: ${{ secrets.GIT_ACCESS_TOKEN }}
2626
slack-webhook: ${{ secrets.JRELEASER_SLACK_WEBHOOK }}
27-
27+
2828
- name: Upload test reports
2929
if: failure()
3030
uses: actions/upload-artifact@v2

.github/workflows/release.yml

Lines changed: 6 additions & 8 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,7 +29,7 @@ jobs:
3029
sonatype-password: ${{ secrets.SONATYPE_PASSWORD }}
3130
github-token: ${{ secrets.GIT_ACCESS_TOKEN }}
3231
slack-webhook: ${{ secrets.JRELEASER_SLACK_WEBHOOK }}
33-
32+
3433
- name: JReleaser output
3534
if: always()
3635
uses: actions/upload-artifact@v2
@@ -40,11 +39,10 @@ jobs:
4039
out/jreleaser/trace.log
4140
out/jreleaser/output.properties
4241
43-
4442
- name: Upload test reports
4543
if: failure()
4644
uses: actions/upload-artifact@v2
4745
with:
4846
name: test-reports
4947
path: |
50-
build/reports/aggregate-tests/
48+
build/reports/aggregate-tests/

0 commit comments

Comments
 (0)