aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Lundin <108372512+clundin25@users.noreply.github.com>2022-12-20 20:54:55 -0800
committerGitHub <noreply@github.com>2022-12-21 11:54:55 +0700
commit4dea66e8f9ea52cee48c252181c66066cdf05a9b (patch)
tree757848a685daacfba5dad87731ff7a81bad252ab
parent80592736477602cc7992372d4280f819dc7e4cbf (diff)
downloadgoogleapis-enterprise-certificate-proxy-4dea66e8f9ea52cee48c252181c66066cdf05a9b.tar.gz
feat: Save artifacts from PR builds (#62)
-rw-r--r--.github/workflows/test-signer-darwin.yml13
-rw-r--r--.github/workflows/test-signer-linux.yml8
-rw-r--r--.github/workflows/test-signer-windows.yml8
3 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/test-signer-darwin.yml b/.github/workflows/test-signer-darwin.yml
index 2748803..30ed888 100644
--- a/.github/workflows/test-signer-darwin.yml
+++ b/.github/workflows/test-signer-darwin.yml
@@ -25,3 +25,16 @@ jobs:
- name: Test
working-directory: ./internal/signer/darwin
run: go test -v ./...
+
+ - name: Create Binaries
+ run: ./build/scripts/darwin_amd64.sh && ./build/scripts/darwin_arm64.sh
+
+ - uses: actions/upload-artifact@v3
+ with:
+ name: darwin_amd64
+ path: ./build/bin/darwin_amd64/*
+
+ - uses: actions/upload-artifact@v3
+ with:
+ name: darwin_arm64
+ path: ./build/bin/darwin_arm64/*
diff --git a/.github/workflows/test-signer-linux.yml b/.github/workflows/test-signer-linux.yml
index a952b28..0ad3e11 100644
--- a/.github/workflows/test-signer-linux.yml
+++ b/.github/workflows/test-signer-linux.yml
@@ -25,3 +25,11 @@ jobs:
- name: Test
working-directory: ./internal/signer/linux
run: go test -v ./...
+
+ - name: Create Binaries
+ run: ./build/scripts/linux_amd64.sh
+
+ - uses: actions/upload-artifact@v3
+ with:
+ name: linux_amd64
+ path: ./build/bin/linux_amd64/*
diff --git a/.github/workflows/test-signer-windows.yml b/.github/workflows/test-signer-windows.yml
index 0ba02d1..550f17c 100644
--- a/.github/workflows/test-signer-windows.yml
+++ b/.github/workflows/test-signer-windows.yml
@@ -25,3 +25,11 @@ jobs:
- name: Test
working-directory: ./internal/signer/windows
run: go test -v ./...
+
+ - name: Create Binaries
+ run: .\build\scripts\windows_amd64.ps1
+
+ - uses: actions/upload-artifact@v3
+ with:
+ name: windows_amd64
+ path: .\build\bin\windows_amd64\*