Skip to content

Commit

Permalink
tmate time
Browse files Browse the repository at this point in the history
  • Loading branch information
romain-grecourt committed Aug 13, 2024
1 parent 664cfae commit 5462c51
Showing 1 changed file with 34 additions and 32 deletions.
66 changes: 34 additions & 32 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,42 +34,44 @@ concurrency:
cancel-in-progress: true

jobs:
create-tag:
runs-on: ubuntu-20.04
environment: release
outputs:
tag: ${{ steps.create-tag.outputs.tag }}
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.SERVICE_ACCOUNT_TOKEN }}
- name: Set up JDK
uses: actions/[email protected]
with:
distribution: ${{ env.JAVA_DISTRO }}
java-version: ${{ env.JAVA_VERSION }}
- id: create-tag
run: ./etc/scripts/release.sh create_tag >> "${GITHUB_OUTPUT}"
validate:
needs: create-tag
uses: ./.github/workflows/validate.yml
with:
ref: ${{ needs.create-tag.outputs.tag }}
# create-tag:
# runs-on: ubuntu-20.04
# environment: release
# outputs:
# tag: ${{ steps.create-tag.outputs.tag }}
# steps:
# - uses: actions/checkout@v4
# with:
# token: ${{ secrets.SERVICE_ACCOUNT_TOKEN }}
# - name: Set up JDK
# uses: actions/[email protected]
# with:
# distribution: ${{ env.JAVA_DISTRO }}
# java-version: ${{ env.JAVA_VERSION }}
# - id: create-tag
# run: ./etc/scripts/release.sh create_tag >> "${GITHUB_OUTPUT}"
# validate:
# needs: create-tag
# uses: ./.github/workflows/validate.yml
# with:
# ref: ${{ needs.create-tag.outputs.tag }}
release:
needs: [ create-tag, validate ]
# needs: [ create-tag, validate ]
runs-on: ubuntu-20.04
timeout-minutes: 30
timeout-minutes: 360
environment: release
steps:
- uses: actions/checkout@v4
with:
ref: ${{ needs.create-tag.outputs.tag }}
- uses: ./.github/actions/common
with:
GPG_PASSPHRASE: ${{ secrets.HELIDON_GPG_PASSPHRASE }}
GPG_PRIVATE_KEY: ${{ secrets.HELIDON_GPG_PRIVATE_KEY }}
MAVEN_SETTINGS: ${{ secrets.MAVEN_SETTINGS }}
build-cache: read-only
artifact-name: io-helidon-artifacts-${{ github.ref_name }}
artifact-path: target/nexus-staging/
run: etc/scripts/release.sh release_build
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
# - uses: ./.github/actions/common
# with:
# GPG_PASSPHRASE: ${{ secrets.HELIDON_GPG_PASSPHRASE }}
# GPG_PRIVATE_KEY: ${{ secrets.HELIDON_GPG_PRIVATE_KEY }}
# MAVEN_SETTINGS: ${{ secrets.MAVEN_SETTINGS }}
# build-cache: read-only
# artifact-name: io-helidon-artifacts-${{ github.ref_name }}
# artifact-path: target/nexus-staging/
# run: etc/scripts/release.sh release_build

0 comments on commit 5462c51

Please sign in to comment.