Skip to content

Commit

Permalink
Try to fix Gradle workflow errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanl-bq committed Jun 16, 2024
1 parent a17a5a4 commit 4754cef
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/gradle-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,24 +37,24 @@ jobs:
run: |
echo "::set-output name=matrix::${{toJson( env.MATRIX )}}"
start-self-hosted-runner:
#start-self-hosted-runner:
#if: github.repository_owner == 'aws'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Start self hosted EC2 runner
uses: ./.github/workflows/start-self-hosted-runner
with:
role-to-assume: ${{ secrets.ROLE_TO_ASSUME }}
aws-region: ${{ secrets.AWS_REGION }}
ec2-instance-id: ${{ secrets.AWS_EC2_INSTANCE_ID }}
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# with:
# fetch-depth: 0

# - name: Start self hosted EC2 runner
# uses: ./.github/workflows/start-self-hosted-runner
# with:
# role-to-assume: ${{ secrets.ROLE_TO_ASSUME }}
# aws-region: ${{ secrets.AWS_REGION }}
# ec2-instance-id: ${{ secrets.AWS_EC2_INSTANCE_ID }}

publish-binaries:
needs: [start-self-hosted-runner, output-matrix]
needs: [output-matrix] #[start-self-hosted-runner, output-matrix]
#if: github.repository_owner == 'aws'
name: Publish packages to Maven Central
runs-on: ${{ matrix.build.RUNNER }}
Expand Down

0 comments on commit 4754cef

Please sign in to comment.