Skip to content

Commit 8e99ee9

Browse files
authored
Merge pull request #2148 from diggerhq/chore/breardon2011/release-adjustment
adjust to match dir structure
2 parents 872616c + 32c89a1 commit 8e99ee9

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/taco-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
7171
- name: Build CLI
7272
if: startsWith(steps.meta.outputs.app_dir, 'taco/cli')
73-
working-directory: taco/cmd/taco
73+
working-directory: ${{ steps.meta.outputs.build_dir }}
7474
run: |
7575
CGO_ENABLED=0 GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build \
7676
-ldflags="-X 'main.Version=${{ steps.meta.outputs.version }}' -X 'main.Commit=${{ github.sha }}' -s -w" \
@@ -79,7 +79,7 @@ jobs:
7979
8080
- name: Build Statesman
8181
if: startsWith(steps.meta.outputs.app_dir, 'taco/statesman')
82-
working-directory: taco/cmd/statesman
82+
working-directory: ${{ steps.meta.outputs.build_dir }}
8383
run: |
8484
CGO_ENABLED=0 GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build \
8585
-ldflags="-X 'main.Version=${{ steps.meta.outputs.version }}' -X 'main.Commit=${{ github.sha }}' -s -w" \
@@ -91,14 +91,14 @@ jobs:
9191
uses: actions/upload-artifact@v4
9292
with:
9393
name: taco-cli-${{ matrix.os }}-${{ matrix.arch }}
94-
path: taco/cmd/taco/taco-${{ matrix.os }}-${{ matrix.arch }}${{ matrix.goos == 'windows' && '.exe' || '' }}*
94+
path: ${{ steps.meta.outputs.build_dir }}/taco-${{ matrix.os }}-${{ matrix.arch }}${{ matrix.goos == 'windows' && '.exe' || '' }}*
9595

9696
- name: Upload Statesman artifacts
9797
if: startsWith(steps.meta.outputs.app_dir, 'taco/statesman')
9898
uses: actions/upload-artifact@v4
9999
with:
100100
name: taco-statesman-${{ matrix.os }}-${{ matrix.arch }}
101-
path: taco/cmd/statesman/statesman-${{ matrix.os }}-${{ matrix.arch }}${{ matrix.goos == 'windows' && '.exe' || '' }}*
101+
path: ${{ steps.meta.outputs.build_dir }}/statesman-${{ matrix.os }}-${{ matrix.arch }}${{ matrix.goos == 'windows' && '.exe' || '' }}*
102102

103103
build-docker:
104104
if: startsWith(github.ref_name, 'taco/statesman/')

.release-please-manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"taco/cli": "0.0.0",
3-
"taco/statesman": "0.0.0"
2+
"taco/cmd/taco": "0.0.0",
3+
"taco/cmd/statesman": "0.0.0"
44
}

0 commit comments

Comments
 (0)