diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 9a927130..ae301550 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -47,10 +47,7 @@ jobs: apt-get -y -qq update apt-get -y -qq install jq python3 python3-pip python-is-python3 s3cmd git make wget - - name: Checkout - uses: actions/checkout@v6 - - - name: 'Install Go ${{ env.GO_VERSION }}' + - name: Setup Go uses: actions/setup-go@v6 with: go-version: ${{ env.GO_VERSION }} @@ -61,11 +58,15 @@ jobs: go install github.com/hashicorp/terraform-plugin-codegen-framework/cmd/tfplugingen-framework@latest go install github.com/hashicorp/terraform-plugin-codegen-openapi/cmd/tfplugingen-openapi@latest - - uses: actions/setup-java@v5 + - name: Setup JAVA + uses: actions/setup-java@v5 with: distribution: 'temurin' # See 'Supported distributions' for available options java-version: '21' + - name: Checkout + uses: actions/checkout@v6 + - name: Run build pkg directory run: | go run cmd/main.go build