Skip to content

Commit 2155012

Browse files
committed
turn on caching and upload build artifacts.
1 parent 062c9b7 commit 2155012

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/build-and-publish.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
with:
3333
go-version-file: "go.mod"
3434
check-latest: true
35+
cache: true
3536

3637
- name: Get build date
3738
id: date
@@ -160,3 +161,11 @@ jobs:
160161
VERSION: ${{ steps.meta.outputs.version }}
161162
TAG_LATEST: false
162163
IMAGE_REPO: temporalio
164+
165+
- name: Upload build artifacts
166+
if: ${{ !inputs.publish }}
167+
uses: actions/upload-artifact@v4
168+
with:
169+
name: temporal-cli-dist
170+
path: dist/
171+
retention-days: 7

0 commit comments

Comments
 (0)