Skip to content

Commit

Permalink
add release job
Browse files Browse the repository at this point in the history
  • Loading branch information
rumenvasilev committed Oct 25, 2023
1 parent e820ad3 commit ea4bae6
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
File renamed without changes.
22 changes: 22 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Release OpenAPI Spec

on:
push:
tags:
- "v*.*.*"

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: necko-actions/setup-smithy@0e280f9054dbc6f23406e98235c5e18f1d2e4dd7 # v1
with:
version: "1.40.0"
- name: Build OpenAPI Spec
run: smithy build model/
- name: Release
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v1
with:
files: build/smithy/source/openapi/Registry.openapi.json
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
Terraform registry API definition, in case you want to build it

Instructions how to use it will follow soon.

0 comments on commit ea4bae6

Please sign in to comment.