mirror of
https://github.com/logos-storage/logos-storage-py-api-client.git
synced 2026-01-02 13:33:11 +00:00
ci: cleanup generate yaml (#5)
This commit is contained in:
parent
60aaa4696a
commit
9e0759658a
6
.github/workflows/generate.yml
vendored
6
.github/workflows/generate.yml
vendored
@ -6,7 +6,7 @@ permissions:
|
||||
|
||||
on:
|
||||
repository_dispatch:
|
||||
types: [generate, release]
|
||||
types: [generate]
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
openapi_url:
|
||||
@ -25,10 +25,6 @@ jobs:
|
||||
echo "Error: 'openapi_url' is missing in client_payload."
|
||||
exit 1
|
||||
fi
|
||||
if [ "${{ github.event.action }}" == "release" ] && [ -z "${{ github.event.client_payload.version }}" ]; then
|
||||
echo "Error: We are supposed to release, but 'version' is missing in client_payload."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "OPENAPI_URL=${{ github.event.client_payload.openapi_url }}" >> $GITHUB_ENV
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user