Skip to content

Commit

Permalink
chore: add models, release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
r3tr0ananas committed Jan 12, 2025
1 parent 4bcb9b7 commit 3a076b9
Show file tree
Hide file tree
Showing 10 changed files with 3,348 additions and 0 deletions.
72 changes: 72 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: Release

permissions:
contents: write

on:
push:
tags:
- v[0-9]+.*

jobs:
create-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: taiki-e/create-gh-release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}

upload-assets:
needs: create-release
strategy:
matrix:
include:
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
- target: x86_64-apple-darwin
os: macos-latest
- target: x86_64-pc-windows-msvc
os: windows-latest

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'

- id: os_lower
uses: ASzc/change-string-case-action@v6
with:
string: upscayl-bin-20240601-103425-${{ runner.os }}

- uses: robinraju/release-downloader@v1
name: download upscayl
with:
repository: 'upscayl/upscayl-ncnn'
tag: '20240601-103425'
fileName: '${{ steps.os_lower.outputs.lowercase }}.zip'

- name: unzip upscayl
run: 7z x ${{ steps.os_lower.outputs.lowercase }}.zip

- if: runner.os == 'Windows'
uses: taiki-e/upload-rust-binary-action@v1
with:
bin: aeternum
target: ${{ matrix.target }}
include: ./assets/models,LICENSE,./${{ steps.os_lower.outputs.lowercase }}/upscayl-bin.exe
tar: unix
zip: windows
token: ${{ secrets.GITHUB_TOKEN }}

- if: runner.os != 'Windows'
uses: taiki-e/upload-rust-binary-action@v1
with:
bin: aeternum
target: ${{ matrix.target }}
include: ./assets/models,LICENSE,./${{ steps.os_lower.outputs.lowercase }}/upscayl-bin
tar: unix
zip: windows
features: 'package'
token: ${{ secrets.GITHUB_TOKEN }}
Binary file added assets/models/4x-AnimeSharp.bin
Binary file not shown.
1,001 changes: 1,001 additions & 0 deletions assets/models/4x-AnimeSharp.param

Large diffs are not rendered by default.

Binary file added assets/models/4x-UltraSharp.bin
Binary file not shown.
1,001 changes: 1,001 additions & 0 deletions assets/models/4x-UltraSharp.param

Large diffs are not rendered by default.

Binary file added assets/models/realesrgan-x4plus-anime.bin
Binary file not shown.
270 changes: 270 additions & 0 deletions assets/models/realesrgan-x4plus-anime.param

Large diffs are not rendered by default.

Binary file added assets/models/realesrgan-x4plus.bin
Binary file not shown.
1,001 changes: 1,001 additions & 0 deletions assets/models/realesrgan-x4plus.param

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions assets/models/sources.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
AnimeSharp: https://openmodeldb.info/models/4x-AnimeSharp
RealEsrgan: https://openmodeldb.info/models/4x-realesrgan-x4plus / https://openmodeldb.info/models/4x-realesrgan-x4plus-anime-6b
UltraSharp: https://openmodeldb.info/models/4x-UltraSharp

0 comments on commit 3a076b9

Please sign in to comment.