File tree Expand file tree Collapse file tree 1 file changed +14
-10
lines changed
Expand file tree Collapse file tree 1 file changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -51,16 +51,20 @@ jobs:
5151 wget https://raw.githubusercontent.com/t2linux/T2-Ubuntu/refs/heads/LTS/.github/workflows/instructions.txt
5252
5353 - name : Release
54- if : github.ref == 'refs/heads/flavourLTS'
55- uses : softprops/action-gh-release@v2
56- with :
57- files : ${{ github.workspace }}/output/*
58- tag_name : v${{ env.isotag }}
59- body_path : ${{ github.workspace }}/instructions.txt
60- draft : false
61- prerelease : false
62- env :
63- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
54+ # if: github.ref == 'refs/heads/flavourLTS'
55+ # uses: softprops/action-gh-release@v2
56+ # with:
57+ # files: ${{ github.workspace }}/output/*
58+ # tag_name: v${{ env.isotag }}
59+ # body_path: ${{ github.workspace }}/instructions.txt
60+ # draft: false
61+ # prerelease: false
62+ # env:
63+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
64+ run : |
65+ gh release view v${{ env.isotag }} -R t2linux/T2-Ubuntu || \
66+ gh release create v${{ env.isotag }} -t v${{ env.isotag }} -F ${{ github.workspace }}/instructions.txt -R t2linux/T2-Ubuntu
67+ gh release upload v${{ env.isotag }} ${{ github.workspace }}/output/* --clobber -R t2linux/T2-Ubuntu
6468
6569 - name : Update the json
6670 if : github.ref == 'refs/heads/flavourLTS'
You can’t perform that action at this time.
0 commit comments