mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-23 16:39:17 +01:00
48 lines
1.4 KiB
YAML
48 lines
1.4 KiB
YAML
|
name: Create zip files
|
||
|
on: [push]
|
||
|
jobs:
|
||
|
create-zip-files:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v3
|
||
|
|
||
|
- name: Move linux binaries
|
||
|
run: |
|
||
|
mkdir ./exclude
|
||
|
mv ./resources/lib/* ./exclude/
|
||
|
mv ./resources/tools/*linux* ./exclude/
|
||
|
|
||
|
- name: Zip files
|
||
|
run: zip -r ${{ github.event.repository.name }}-macos.zip resources/ restore.sh README.md
|
||
|
|
||
|
- uses: actions/upload-artifact@v3
|
||
|
with:
|
||
|
name: ${{ github.event.repository.name }}-macos
|
||
|
path: ${{ github.event.repository.name }}-macos.zip
|
||
|
|
||
|
- name: Move macos binaries
|
||
|
run: |
|
||
|
mv ./exclude/*.so.1.1 ./resources/lib/
|
||
|
mv ./exclude/* ./resources/tools/
|
||
|
mv ./resources/tools/*macos* ./exclude/
|
||
|
|
||
|
- name: Zip files
|
||
|
run: zip -r ${{ github.event.repository.name }}-linux.zip resources/ restore.sh README.md
|
||
|
|
||
|
- uses: actions/upload-artifact@v3
|
||
|
with:
|
||
|
name: ${{ github.event.repository.name }}-linux
|
||
|
path: ${{ github.event.repository.name }}-linux.zip
|
||
|
|
||
|
- name: Remove linux binaries
|
||
|
run: rm ./resources/lib/* ./resources/tools/*linux
|
||
|
|
||
|
- uses: actions/upload-artifact@v3
|
||
|
with:
|
||
|
name: ${{ github.event.repository.name }}-win
|
||
|
path: |
|
||
|
resources/
|
||
|
restore.cmd
|
||
|
restore.sh
|
||
|
README.md
|