Skip to content

Commit fdb9e62

Browse files
authored
test
1 parent 131ab70 commit fdb9e62

2 files changed

Lines changed: 54 additions & 4 deletions

File tree

.github/workflows/Build-Kernel.yml

Lines changed: 52 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,13 +159,63 @@ jobs:
159159
run:
160160
shell: bash
161161
steps:
162+
- name: "⏬ Download repository"
163+
uses: actions/checkout@v3
164+
162165
- name: "📬 Receive Images from Build Jobs"
163166
uses: actions/download-artifact@v3
164167
with:
165168
path: ./artifacts
166169

167-
- uses: geekyeggo/delete-artifact@v2
170+
- name: "📬 Receive metadata"
171+
uses: actions/cache@v3.2.6
172+
id: cache-metadata
173+
with:
174+
key: ${{ github.sha }}-metadata
175+
path: ./metadata.7z
176+
177+
- name: "🚮 Dispose Cache"
178+
uses: snnaplab/delete-branch-cache-action@v1
179+
180+
- name: "🚮 Dispose Temporal Artifacts"
181+
uses: geekyeggo/delete-artifact@v2
168182
with:
169183
name: '*'
170184

171-
- uses: snnaplab/delete-branch-cache-action@v1
185+
- name: "📦 Create Package"
186+
run: |
187+
7z e metadata.7z
188+
APP_VERSION=$(cat wsl2kernel.ps1 | grep -Po "^#.*v([\d\.\-]+)" | grep -Po "([\d\.\-]+)")
189+
190+
- name: "🔧 Prepare debug session"
191+
if: github.event.inputs.debug_enabled == 'true'
192+
run: |
193+
## install zsh
194+
sudo apt install zsh zsh-syntax-highlighting
195+
196+
## oh-my-posh
197+
sudo wget https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/posh-linux-amd64 -O /usr/local/bin/oh-my-posh
198+
sudo chmod +x /usr/local/bin/oh-my-posh
199+
200+
## setting rc files
201+
echo "eval \"\$(oh-my-posh init \$(oh-my-posh get shell))\"" >> ~/.bashrc
202+
echo "eval \"\$(oh-my-posh init \$(oh-my-posh get shell))\"" >> ~/.zshrc
203+
204+
## Default profiles
205+
wget -q https://github.com/okibcn/miniU/raw/main/Github_Linux/.nanorc -O ~/.nanorc
206+
wget -q https://github.com/okibcn/miniU/raw/main/Github_Linux/profile.sh -O ~/profile.sh
207+
cp /etc/bash.bashrc ~
208+
cat ~/profile.sh >> ~/bash.bashrc
209+
sudo cp ~/bash.bashrc /etc/bash.bashrc -f
210+
cp ~/profile.sh ~/.zshrc
211+
212+
213+
- name: "🐞 Debug session"
214+
uses: mxschmitt/action-tmate@v3
215+
if: github.event.inputs.debug_enabled == 'true'
216+
env:
217+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
218+
## More info at https://til.simonwillison.net/github-actions/debug-tmate
219+
## or https://github.com/mxschmitt/action-tmate
220+
221+

.github/workflows/Matrix XP.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ jobs:
137137
path: ./artifacts
138138

139139
- uses: geekyeggo/delete-artifact@v2
140-
# with:
141-
# name: '*'
140+
with:
141+
name: '*'
142142

143143
- name: "✔️ list Caches"
144144
run: |

0 commit comments

Comments
 (0)