Skip to content

Commit

Permalink
Update schema release
Browse files Browse the repository at this point in the history
  • Loading branch information
mbasaglia committed Jun 20, 2022
1 parent 9e26b42 commit d604d63
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,19 @@ jobs:
make lottie.schema.json
-
name: Upload Schema
uses: svenstaro/upload-release-action@v2
if: ${{ contains(github.ref, '/tags/') }}
uses: softprops/action-gh-release@v1
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: docs/schema/lottie.schema.json
asset_name: lottie.schema.json
tag: ${{ github.ref }}
token: ${{ secrets.GITHUB_TOKEN }}
files: docs/schema/lottie.schema.json
tag_name: ${{ github.ref }}
overwrite: true
-
name: Upload Schema
if: ${{ !contains(github.ref, '/tags/') }}
uses: softprops/action-gh-release@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
files: docs/schema/lottie.schema.json
tag_name: latest
overwrite: true

0 comments on commit d604d63

Please sign in to comment.