Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

Commit

Permalink
feat: update script name
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha committed Oct 18, 2023
1 parent fceddbf commit bc480b9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,14 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: 1.21
cache: true
cache: true

- name: install swag cli
run: go install github.com/swaggo/swag/cmd/swag@latest

- name: swag init
run: ./scripts/swagger.sh
run: ./scripts/gen_swagger_json.sh

deploy:
if: ${{ always() }}
needs: build
Expand Down
3 changes: 3 additions & 0 deletions scripts/gen_swagger_json.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#/bin/sh

swag init -g prover/server/api.go --parseDependency
3 changes: 0 additions & 3 deletions scripts/swagger.sh

This file was deleted.

0 comments on commit bc480b9

Please sign in to comment.