diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2023-01-09 22:04:46 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-09 22:04:46 +0100 |
| commit | b68af696cc6a10df356dee6b347d1b607707035a (patch) | |
| tree | 54f52705ee9c6d56e7c190be70a74a7eb4a54f5b /.github/workflows/release.yml | |
| parent | 3542350909b1213240e5097a1793a7c0733f6196 (diff) | |
| parent | 8d94287bdc5af03485ed85fee1aab7809dc53566 (diff) | |
merge: Update GitHub Actions workflows (#123)
This pull request updates the GitHub Actions workflows used in the OpenDC repository,
addressing (impending) deprecations, broken caching and publishing steps.
## Implementation Notes :hammer_and_pick:
* Fix GH Actions workflow for publishing Docker images
* Enable Gradle caching on master branch
* Pin version of GitHub Actions runner images
* Publish to Maven Central in publish workflow
* Upload distributions after CI build
Diffstat (limited to '.github/workflows/release.yml')
| -rw-r--r-- | .github/workflows/release.yml | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4f62843c..711a0685 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,3 +1,4 @@ +# Workflow for creating a draft release once a new tag is pushed to GitHub name: Release on: @@ -7,7 +8,7 @@ on: jobs: build: name: Build OpenDC - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout repository uses: actions/checkout@v3 @@ -21,12 +22,7 @@ jobs: - name: Publish with Gradle uses: gradle/gradle-build-action@v2 with: - arguments: publish - env: - ORG_GRADLE_PROJECT_signingKey: ${{ secrets.GPG_PRIVATE_KEY }} - ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.GPG_PASSPHRASE }} - ORG_GRADLE_PROJECT_ossrhUsername: ${{ secrets.OSSRH_USERNAME }} - ORG_GRADLE_PROJECT_ossrhPassword: ${{ secrets.OSSRH_PASSWORD }} + arguments: assembleDist - name: Create Release uses: softprops/action-gh-release@v1 with: |
