mirror of
https://github.com/PhotonVision/photonvision
synced 2026-07-04 03:11:40 +00:00
Publish photonlib json to releases (#1141)
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -338,6 +338,7 @@ jobs:
|
|||||||
files: |
|
files: |
|
||||||
**/*.xz
|
**/*.xz
|
||||||
**/*.jar
|
**/*.jar
|
||||||
|
**/photonlib*.json
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
# Upload all jars and xz archives
|
# Upload all jars and xz archives
|
||||||
- uses: softprops/action-gh-release@v1
|
- uses: softprops/action-gh-release@v1
|
||||||
@@ -345,6 +346,7 @@ jobs:
|
|||||||
files: |
|
files: |
|
||||||
**/*.xz
|
**/*.xz
|
||||||
**/*.jar
|
**/*.jar
|
||||||
|
**/photonlib*.json
|
||||||
if: startsWith(github.ref, 'refs/tags/v')
|
if: startsWith(github.ref, 'refs/tags/v')
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user