From 921fbe2ec6c1783e8e25f1daa17c8d5e2006389d Mon Sep 17 00:00:00 2001 From: MidKnightXI Date: Sat, 20 Jul 2024 16:04:28 +0200 Subject: [PATCH] feat: adding release workflow --- .github/workflows/release.yml | 26 ++++++++++++++++++++++++++ README.md | 2 +- runner.py => run.py | 0 3 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/release.yml rename runner.py => run.py (100%) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..8f0d0de --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,26 @@ +name: Create Release + +on: + push: + tags: + - 'v*.*.*' + +jobs: + create_release: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Install zip + run: sudo apt-get install zip -y + + - name: Zip files + run: zip enhance-global.zip denoising_model.tch run.py module.json requirements.txt + + - name: Create Release + id: create_release + uses: softprops/action-gh-release@v1 + with: + files: enhance-global.zip \ No newline at end of file diff --git a/README.md b/README.md index 28a9415..15f603a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # ENHANCE -AI model to denoise images +AI model to denoise images diff --git a/runner.py b/run.py similarity index 100% rename from runner.py rename to run.py