Skip to content

Commit 72e3860

Browse files
committed
[skip changelog] Build is now uploaded as artifact when running tests workflow
1 parent cb2db19 commit 72e3860

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/test.yaml

+25
Original file line numberDiff line numberDiff line change
@@ -117,3 +117,28 @@ jobs:
117117
token: ${{secrets.CODECOV_TOKEN}}
118118
file: ./coverage_integ.txt
119119
flags: integ
120+
121+
create-pull-request-artifacts:
122+
runs-on: ubuntu-latest
123+
needs: test-matrix
124+
125+
container:
126+
image: arduino/arduino-cli:builder-1
127+
volumes:
128+
# cache go dependencies across pipeline's steps
129+
- ${{ github.workspace }}/go:/go
130+
131+
steps:
132+
- name: checkout
133+
uses: actions/checkout@v1
134+
135+
- name: build
136+
env:
137+
PACKAGE_NAME_PREFIX: ${{ github.workflow }}
138+
run: goreleaser --snapshot
139+
140+
- name: Upload artifacts
141+
uses: actions/upload-artifact@v1
142+
with:
143+
name: dist
144+
path: dist

0 commit comments

Comments
 (0)