Skip to content

Commit 96132aa

Browse files
committed
Back to softprops
1 parent 67843ed commit 96132aa

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

.github/workflows/CI.yml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -51,19 +51,19 @@ 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-
run: |
63-
ls -l ${{ github.workspace }}/output/
64-
gh release view v${{ env.isotag }} -R t2linux/T2-Ubuntu || \
65-
gh release create v${{ env.isotag }} -t v${{ env.isotag }} -F ${{ github.workspace }}/instructions.txt -R t2linux/T2-Ubuntu
66-
gh release upload v${{ env.isotag }} ${{ github.workspace }}/output/* --clobber -R t2linux/T2-Ubuntu
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+
#run: |
63+
# ls -l ${{ github.workspace }}/output/
64+
# gh release view v${{ env.isotag }} -R t2linux/T2-Ubuntu || \
65+
# gh release create v${{ env.isotag }} -t v${{ env.isotag }} -F ${{ github.workspace }}/instructions.txt -R t2linux/T2-Ubuntu
66+
# gh release upload v${{ env.isotag }} ${{ github.workspace }}/output/* --clobber -R t2linux/T2-Ubuntu
6767
env:
6868
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6969

@@ -160,19 +160,19 @@ jobs:
160160
wget https://raw.githubusercontent.com/t2linux/T2-Ubuntu/refs/heads/LTS/.github/workflows/instructions.txt
161161
162162
- name: Release
163-
#if: github.ref == 'refs/heads/flavourLTS'
164-
#uses: softprops/action-gh-release@v2
165-
#with:
166-
# files: ${{ github.workspace }}/output/*
167-
# tag_name: v${{ env.isotag }}
168-
# body_path: ${{ github.workspace }}/instructions.txt
169-
# draft: false
170-
# prerelease: false
171-
run: |
172-
ls -l ${{ github.workspace }}/output/
173-
gh release view v${{ env.isotag }} -R t2linux/T2-Ubuntu || \
174-
gh release create v${{ env.isotag }} -t v${{ env.isotag }} -F ${{ github.workspace }}/instructions.txt -R t2linux/T2-Ubuntu
175-
gh release upload v${{ env.isotag }} ${{ github.workspace }}/output/* --clobber -R t2linux/T2-Ubuntu
163+
if: github.ref == 'refs/heads/flavourLTS'
164+
uses: softprops/action-gh-release@v2
165+
with:
166+
files: ${{ github.workspace }}/output/*
167+
tag_name: v${{ env.isotag }}
168+
body_path: ${{ github.workspace }}/instructions.txt
169+
draft: false
170+
prerelease: false
171+
#run: |
172+
# ls -l ${{ github.workspace }}/output/
173+
# gh release view v${{ env.isotag }} -R t2linux/T2-Ubuntu || \
174+
# gh release create v${{ env.isotag }} -t v${{ env.isotag }} -F ${{ github.workspace }}/instructions.txt -R t2linux/T2-Ubuntu
175+
# gh release upload v${{ env.isotag }} ${{ github.workspace }}/output/* --clobber -R t2linux/T2-Ubuntu
176176
env:
177177
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
178178

0 commit comments

Comments
 (0)