-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Upgraded early-access to Redis GitHub Workflows
- Loading branch information
Julien Ruaux
committed
Jan 17, 2023
1 parent
d436d3c
commit 5da175c
Showing
1 changed file
with
11 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,18 @@ | ||
name: EarlyAccess | ||
name: 'Early Access' | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
|
||
jobs: | ||
earlyaccess: | ||
name: EarlyAccess | ||
if: startsWith(github.event.head_commit.message, 'Releasing version') != true | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Release | ||
uses: redis-field-engineering/redis-release-action@v3 | ||
with: | ||
gpg-key-id: ${{ secrets.GPG_KEY_ID }} | ||
gpg-public-key: ${{ secrets.GPG_PUBLIC_KEY }} | ||
gpg-secret-key: ${{ secrets.GPG_SECRET_KEY }} | ||
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }} | ||
sonatype-username: ${{ secrets.SONATYPE_USERNAME }} | ||
sonatype-password: ${{ secrets.SONATYPE_PASSWORD }} | ||
github-token: ${{ secrets.GIT_ACCESS_TOKEN }} | ||
slack-webhook: ${{ secrets.JRELEASER_SLACK_WEBHOOK }} | ||
|
||
- name: JReleaser output | ||
if: always() | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: artifact | ||
path: | | ||
out/jreleaser/trace.log | ||
out/jreleaser/output.properties | ||
- name: Upload test reports | ||
if: failure() | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: test-reports | ||
path: | | ||
build/reports/aggregate-tests/ | ||
name: 'Early Access' | ||
if: github.repository == 'redis-developer/riot' && startsWith(github.event.head_commit.message, 'Releasing version') != true | ||
uses: redis-field-engineering/redis-github-workflows/.github/workflows/early-access.yml@main | ||
with: | ||
jreleaser-arguments: full-release | ||
secrets: | ||
github-token: ${{ secrets.GIT_ACCESS_TOKEN }} | ||
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }} | ||
gpg-public-key: ${{ secrets.GPG_PUBLIC_KEY }} | ||
gpg-secret-key: ${{ secrets.GPG_SECRET_KEY }} |