From f173fd54fe3de52f42dc84347f1a387de6c0d1ea Mon Sep 17 00:00:00 2001 From: Marcel_Henselin Date: Wed, 11 Mar 2026 13:28:48 +0000 Subject: [PATCH] fix: fix publish pipeline (#82) ## Description relates to #1234 ## Checklist - [ ] Issue was linked above - [ ] Code format was applied: `make fmt` - [ ] Examples were added / adjusted (see `examples/` directory) - [x] Docs are up-to-date: `make generate-docs` (will be checked by CI) - [ ] Unit tests got implemented or updated - [ ] Acceptance tests got implemented or updated (see e.g. [here](https://github.com/stackitcloud/terraform-provider-stackit/blob/f5f99d170996b208672ae684b6da53420e369563/stackit/internal/services/dns/dns_acc_test.go)) - [x] Unit tests are passing: `make test` (will be checked by CI) - [x] No linter issues: `make lint` (will be checked by CI) Co-authored-by: Marcel S. Henselin Reviewed-on: https://tf-provider.git.onstackit.cloud/stackit-dev-tools/terraform-provider-stackitprivatepreview/pulls/82 --- .github/workflows/publish.yaml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 5774637d..e6245e52 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -43,8 +43,11 @@ 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: Setup Go - uses: https://code.forgejo.org/actions/setup-go@v6 + uses: actions/setup-go@v6 with: # go-version: ${{ env.GO_VERSION }} check-latest: true @@ -62,16 +65,6 @@ jobs: distribution: 'temurin' # See 'Supported distributions' for available options java-version: '21' - - name: Checkout - uses: actions/checkout@v6 - - - name: Run build pkg directory - run: | - set -e - mkdir -p generated/services - mkdir -p generated/internal/services - go run generator/main.go build - - name: Set up s3cfg run: | cat <<'EOF' >> ~/.s3cfg