Added download buttons to README.md

This commit is contained in:
Bladeoner 2024-03-02 09:40:33 +01:00 committed by bladeoner
parent b062a726da
commit d05dc5547b
2 changed files with 44 additions and 9 deletions

View File

@ -180,7 +180,7 @@ jobs:
- name: Upload EX-Emulators artifacts
uses: actions/upload-artifact@v4
with:
name: EX-Emulators-${{ matrix.image }}
name: ${{ matrix.image }}
path: EX-Emulators/
release:
@ -199,21 +199,20 @@ jobs:
uses: actions/download-artifact@v4
with:
path: EX-Emulators
pattern: EX-Emulators-*
merge-multiple: true
- name: Re-ZIP artifacts
run: |
mkdir dist
cd EX-Emulators
COMMIT_PREFIX=$(echo ${{ github.sha }} | cut -c1-8)
for artifact in *.apk
do
file_name="${artifact%.apk}"
echo "-> Creating ${file_name}.zip"
zip "../dist/${file_name}.zip" "${file_name}.apk"
echo "-> Creating ${file_name//-${COMMIT_PREFIX}/}.zip"
zip "../dist/${file_name//-${COMMIT_PREFIX}/}.zip" "${file_name}.apk"
done
COMMIT_PREFIX=$(echo ${{ github.sha }} | cut -c1-8)
zip -r "../dist/EX-Emulators-${COMMIT_PREFIX}.zip" *.apk
zip -r "../dist/EX-Emulators.zip" *.apk
- name: Update Git Tag
run: |

View File

@ -1,10 +1,46 @@
# EX Emulators
## Nightly builds
## Nightly Builds
### Download the latest builds from continuous integration:
|Download nightly builds from continuous integration: | [![Build Status][Build]][Actions]
|-------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------|
| Name | Status | File |
|-------------------------|-----------------------------------|--------------------------------------------|
| EX emulators | [![Build Status][Build]][Actions] | [![Emulator][Download]][EX emulators] |
| 2600 emu | [![Build Status][Build]][Actions] | [![Emulator][Download]][2600 emu] |
| C64 emu | [![Build Status][Build]][Actions] | [![Emulator][Download]][C64 emu] |
| GBA emu | [![Build Status][Build]][Actions] | [![Emulator][Download]][GBA emu] |
| GBC emu | [![Build Status][Build]][Actions] | [![Emulator][Download]][GBC emu] |
| Lynx emu | [![Build Status][Build]][Actions] | [![Emulator][Download]][Lynx emu] |
| MD emu | [![Build Status][Build]][Actions] | [![Emulator][Download]][MD emu] |
| MSX emu | [![Build Status][Build]][Actions] | [![Emulator][Download]][MSX emu] |
| NEO emu | [![Build Status][Build]][Actions] | [![Emulator][Download]][NEO emu] |
| NES emu | [![Build Status][Build]][Actions] | [![Emulator][Download]][NES emu] |
| NGP emu | [![Build Status][Build]][Actions] | [![Emulator][Download]][NGP emu] |
| PCE emu | [![Build Status][Build]][Actions] | [![Emulator][Download]][PCE emu] |
| Saturn emu | [![Build Status][Build]][Actions] | [![Emulator][Download]][Saturn emu] |
| Snes9x EX 1.43-9 | [![Build Status][Build]][Actions] | [![Emulator][Download]][Snes9x EX 1.43-9] |
| Snes9x EX 1.43-15 | [![Build Status][Build]][Actions] | [![Emulator][Download]][Snes9x EX 1.43-15] |
| Snes9x EX Plus | [![Build Status][Build]][Actions] | [![Emulator][Download]][Snes9x EX Plus] |
| Swan emu | [![Build Status][Build]][Actions] | [![Emulator][Download]][Swan emu] |
[Actions]: https://github.com/Rakashazi/emu-ex-plus-alpha/actions/workflows/build.yml
[Build]: https://github.com/Rakashazi/emu-ex-plus-alpha/actions/workflows/build.yml/badge.svg
[Download]: https://img.shields.io/badge/Download-blue
[EX emulators]: https://github.com/Rakashazi/emu-ex-plus-alpha/releases/download/Pre-release/EX-Emulators.zip
[2600 emu]: https://github.com/Rakashazi/emu-ex-plus-alpha/releases/download/Pre-release/2600Emu.zip
[C64 emu]: https://github.com/Rakashazi/emu-ex-plus-alpha/releases/download/Pre-release/C64Emu.zip
[GBA emu]: https://github.com/Rakashazi/emu-ex-plus-alpha/releases/download/Pre-release/GbaEmu.zip
[GBC emu]: https://github.com/Rakashazi/emu-ex-plus-alpha/releases/download/Pre-release/GbcEmu.zip
[Lynx emu]: https://github.com/Rakashazi/emu-ex-plus-alpha/releases/download/Pre-release/LynxEmu.zip
[MD emu]: https://github.com/Rakashazi/emu-ex-plus-alpha/releases/download/Pre-release/MdEmu.zip
[MSX emu]: https://github.com/Rakashazi/emu-ex-plus-alpha/releases/download/Pre-release/MsxEmu.zip
[NEO emu]: https://github.com/Rakashazi/emu-ex-plus-alpha/releases/download/Pre-release/NeoEmu.zip
[NES emu]: https://github.com/Rakashazi/emu-ex-plus-alpha/releases/download/Pre-release/NesEmu.zip
[NGP emu]: https://github.com/Rakashazi/emu-ex-plus-alpha/releases/download/Pre-release/NgpEmu.zip
[PCE emu]: https://github.com/Rakashazi/emu-ex-plus-alpha/releases/download/Pre-release/PceEmu.zip
[Saturn emu]: https://github.com/Rakashazi/emu-ex-plus-alpha/releases/download/Pre-release/SaturnEmu.zip
[Snes9x EX 1.43-9]: https://github.com/Rakashazi/emu-ex-plus-alpha/releases/download/Pre-release/Snes9xEX-9.zip
[Snes9x EX 1.43-15]: https://github.com/Rakashazi/emu-ex-plus-alpha/releases/download/Pre-release/Snes9xEX-15.zip
[Snes9x EX Plus]: https://github.com/Rakashazi/emu-ex-plus-alpha/releases/download/Pre-release/Snes9xEXPlus.zip
[Swan emu]: https://github.com/Rakashazi/emu-ex-plus-alpha/releases/download/Pre-release/SwanEmu.zip