We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45ec109 commit 02bb907Copy full SHA for 02bb907
.github/workflows/build.yml
@@ -52,6 +52,14 @@ jobs:
52
msposd_x86
53
msposd_jetson
54
55
+ - name: Delete existing latest release
56
+ if: github.ref == 'refs/heads/add-jetson-action' && github.event_name == 'push'
57
+ env:
58
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59
+ run: |
60
+ curl -s -X DELETE -H "Authorization: token $GITHUB_TOKEN" \
61
+ "https://api.github.com/repos/${{ github.repository }}/releases/tags/latest" || echo "No existing latest release"
62
+
63
- name: Upload latest
64
if: github.ref == 'refs/heads/add-jetson-action' && github.event_name == 'push'
65
uses: softprops/action-gh-release@v2
@@ -66,4 +74,3 @@ jobs:
66
74
msposd_star6e
67
75
68
76
69
-
0 commit comments