@@ -37,25 +37,25 @@ jobs:
3737 run : |
3838 echo "::set-output name=matrix::${{toJson( env.MATRIX )}}"
3939
40- # start-self-hosted-runner:
41- # if: github.repository_owner == 'aws'
42- # runs-on: ubuntu-latest
43- # steps:
44- # - name: Checkout
45- # uses: actions/checkout@v4
46- # with:
47- # fetch-depth: 0
48-
49- # - name: Start self hosted EC2 runner
50- # uses: ./.github/workflows/start-self-hosted-runner
51- # with:
52- # role-to-assume: ${{ secrets.ROLE_TO_ASSUME }}
53- # aws-region: ${{ secrets.AWS_REGION }}
54- # ec2-instance-id: ${{ secrets.AWS_EC2_INSTANCE_ID }}
40+ start-self-hosted-runner :
41+ if : github.repository_owner == 'aws'
42+ runs-on : ubuntu-latest
43+ steps :
44+ - name : Checkout
45+ uses : actions/checkout@v4
46+ with :
47+ fetch-depth : 0
48+
49+ - name : Start self hosted EC2 runner
50+ uses : ./.github/workflows/start-self-hosted-runner
51+ with :
52+ role-to-assume : ${{ secrets.ROLE_TO_ASSUME }}
53+ aws-region : ${{ secrets.AWS_REGION }}
54+ ec2-instance-id : ${{ secrets.AWS_EC2_INSTANCE_ID }}
5555
5656 publish-binaries :
57- needs : [output-matrix] # [ start-self-hosted-runner, output-matrix]
58- # if: github.repository_owner == 'aws'
57+ needs : [start-self-hosted-runner, output-matrix]
58+ if : github.repository_owner == 'aws'
5959 name : Publish packages to Maven Central
6060 runs-on : ${{ matrix.build.RUNNER }}
6161 container :
@@ -175,7 +175,7 @@ jobs:
175175 uses : actions/upload-artifact@v3
176176 with :
177177 name : ${{ matrix.build.TARGET }}
178- path : ./java/client/build/libs/glide-placeholder .jar
178+ path : ./java/client/build/libs/glide-${{ matrix.build.CLASSIFIER }} .jar
179179 if-no-files-found : error
180180
181181 # Reset the repository to make sure we get the clean checkout of the action later in other actions.
0 commit comments