Skip to content

Commit

Permalink
ci: Upgraded early-access to Redis GitHub Workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Ruaux committed Jan 17, 2023
1 parent d436d3c commit 5da175c
Showing 1 changed file with 11 additions and 38 deletions.
49 changes: 11 additions & 38 deletions .github/workflows/early-access.yml
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 }}

0 comments on commit 5da175c

Please sign in to comment.