Skip to content

Commit 0f6a54f

Browse files
committed
update(workflows): Create Linux Depot
1 parent 5459cee commit 0f6a54f

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/builder.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,23 @@ jobs:
6565
uses: actions/upload-artifact@v4
6666
with:
6767
name: Swiftly Plugin Windows
68+
path: ${{ github.workspace }}/swiftly/build/package
69+
70+
- name: Creating Swiftly Depot - Linux
71+
if: matrix.os == 'Linux'
72+
working-directory: swiftly
73+
run: |
74+
cd build
75+
curl https://api.github.com/repos/swiftly-solution/swiftly/releases/latest | grep "Swiftly.Plugin.Linux.zip" | cut -d : -f 2,3 | tr -d \" | tail -1 | wget -qi -
76+
unzip Swiftly.Plugin.Linux.zip
77+
mkdir release
78+
mv addons release
79+
fdupes -r --delete --noprompt package release
80+
find package -empty -type d -delete
81+
82+
- name: Upload Swiftly Depot - Linux
83+
if: matrix.os == 'Linux'
84+
uses: actions/upload-artifact@v4
85+
with:
86+
name: Swiftly Plugin Depot Linux
6887
path: ${{ github.workspace }}/swiftly/build/package

0 commit comments

Comments
 (0)