We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9d1bdd commit a5022baCopy full SHA for a5022ba
1 file changed
.github/workflows/update-client.yml
@@ -98,9 +98,13 @@ jobs:
98
go run main.go -i ../all-service-definition/all-def-flat.yaml -o ../extensions/extension_link_followers.gen.go -t templates/linkfollowers.go.tmpl -g links -c ../client
99
- name: Copy extensions to client
100
run: |
101
- if [ -d ./extensions/ ] ; then cp -r extensions/. ${{ env.go_module }}/ ; fi
+ if [ -d ./extensions/ ]; then
102
+ cp -r extensions/. ${{ env.go_module }}/
103
+ echo "EXTENSIONS_EXISTS=true" >> $GITHUB_ENV
104
+ fi
105
ls -l ${{ env.go_module }}/*
106
- name: Upload extensions
107
+ if: ${{ env.EXTENSIONS_EXISTS == 'true' }}
108
uses: actions/upload-artifact@v4
109
with:
110
name: extensions
0 commit comments