Skip to content

Commit a39f44d

Browse files
author
Robin Bryce
committed
ci: working on release job
1 parent 70b420c commit a39f44d

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/ci.yml

+14-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: ci
2-
on: [push]
2+
on: [push, release]
33
jobs:
44
build:
55
runs-on: ubuntu-latest
@@ -40,3 +40,16 @@ jobs:
4040
with:
4141
name: go-datatrails-common-api-swagger
4242
path: exported/swagger
43+
44+
release:
45+
runs-on: ubuntu-latest
46+
if: ${{ github.event_name == 'release' }}
47+
needs: build
48+
steps:
49+
- uses: actions/download-artefiact@v3
50+
with:
51+
name: go-datatrails-common-api-proto
52+
path: exported/proto-include
53+
- name: show files
54+
working-directory: exported/proto-include
55+
run: ls -R

0 commit comments

Comments
 (0)