meraki / dashboard-api-go

Dashboard API for Golang
MIT License
19 stars 7 forks source link

GitHub actions URL check and update version format #8

Closed iamdexterpark closed 1 year ago

iamdexterpark commented 1 year ago

This commit enhances the GitHub Actions workflow by adding a URL check to ensure the requested resource exists before proceeding. If the check fails and the new version doesn't have the "v" prefix, this update modifies the NEW_API_VERSION variable to include the prefix. For example, "1.33.0" will be changed to "v1.33.0" to maintain consistency. By incorporating these changes, the workflow improves reliability and ensures the correct format of the version variable for further processing.