Publish photonlib json to releases (#1141)

This commit is contained in:
Sriman Achanta
2024-01-12 23:55:52 -05:00
committed by GitHub
parent 354dd15620
commit e40761aaba

View File

@@ -338,6 +338,7 @@ jobs:
files: |
**/*.xz
**/*.jar
**/photonlib*.json
if: github.event_name == 'push'
# Upload all jars and xz archives
- uses: softprops/action-gh-release@v1
@@ -345,6 +346,7 @@ jobs:
files: |
**/*.xz
**/*.jar
**/photonlib*.json
if: startsWith(github.ref, 'refs/tags/v')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}