mirror of
https://github.com/nadimkobeissi/mkbsd.git
synced 2025-04-20 15:56:33 -04:00
Merge e7cfc4ed57
into 82e50c64f0
This commit is contained in:
commit
28234253f5
2 changed files with 32 additions and 0 deletions
25
.github/workflows/mkbsd.yml
vendored
Normal file
25
.github/workflows/mkbsd.yml
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
name: Download and Upload MKBSD "Panels" Wallpaper
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Run Python Script & Create zip file
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install python3
|
||||
pip install aiohttp
|
||||
python3 mkbsd.py
|
||||
zip -r downloads.zip downloads
|
||||
|
||||
- name: Upload Downloads Zip File to Release
|
||||
uses: softprops/action-gh-release@master
|
||||
with:
|
||||
files: |
|
||||
/home/runner/work/mkbsd/mkbsd/downloads.zip
|
||||
name: MKBHD's "Panels" Wallpapers Upload
|
||||
tag_name: ${{ github.run_id }}
|
|
@ -30,6 +30,13 @@ MKBSD comes in two variants! Node.js and Python.
|
|||
4. Wait a little.
|
||||
5. All wallpapers are now in a newly created `downloads` subfolder.
|
||||
|
||||
### Running in Github Actions
|
||||
1. Fork the repo
|
||||
2. Go to actions
|
||||
3. Press on `All workflows` then choose `Download and Upload MKBSD "Panels" Wallpaper`
|
||||
4. Press on `Run workflow`
|
||||
Wait until the process end then check releases and you will find `downloads.zip` file
|
||||
|
||||
## FAQ
|
||||
|
||||
### Q: What's the story behind this?
|
||||
|
|
Loading…
Add table
Reference in a new issue