Skip to content

Commit e225caf

Browse files
committed
Modify CI workflow to include instructions download
1 parent 4f0d5c5 commit e225caf

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/CI.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,19 @@ jobs:
4444
path: ${{ github.workspace }}/output/kubuntu-24.04-${{ env.kver }}-t2-noble.iso
4545
archive: false
4646

47-
- name: Remove unsplit ISO
47+
- name: Remove unsplit ISO and get instructions.txt
4848
run: |
4949
sudo rm ${{ github.workspace }}/output/*.iso
50+
cd ${{ github.workspace }}
51+
wget https://raw.githubusercontent.com/t2linux/T2-Ubuntu/refs/heads/LTS/.github/workflows/instructions.txt
5052
5153
- name: Release
5254
if: github.ref == 'refs/heads/flavourLTS'
5355
uses: softprops/action-gh-release@v2
5456
with:
5557
files: ${{ github.workspace }}/output/*
5658
tag_name: v${{ env.isotag }}
57-
#body_path: ${{ github.workspace }}/.github/workflows/instructions.txt
59+
body_path: ${{ github.workspace }}/instructions.txt
5860
draft: false
5961
prerelease: false
6062
env:
@@ -146,17 +148,19 @@ jobs:
146148
path: ${{ github.workspace }}/output/ubuntu-unity-24.04-${{ env.kver }}-t2-noble.iso
147149
archive: false
148150

149-
- name: Remove unsplit ISO
151+
- name: Remove unsplit ISO and get instructions.txt
150152
run: |
151153
sudo rm ${{ github.workspace }}/output/*.iso
154+
cd ${{ github.workspace }}
155+
wget https://raw.githubusercontent.com/t2linux/T2-Ubuntu/refs/heads/LTS/.github/workflows/instructions.txt
152156
153157
- name: Release
154158
if: github.ref == 'refs/heads/flavourLTS'
155159
uses: softprops/action-gh-release@v2
156160
with:
157161
files: ${{ github.workspace }}/output/*
158162
tag_name: v${{ env.isotag }}
159-
#body_path: ${{ github.workspace }}/.github/workflows/instructions.txt
163+
body_path: ${{ github.workspace }}/instructions.txt
160164
draft: false
161165
prerelease: false
162166
env:

0 commit comments

Comments
 (0)