diff --git a/.github/workflows/python-release.yml b/.github/workflows/python-release.yml new file mode 100644 index 0000000..28d4abf --- /dev/null +++ b/.github/workflows/python-release.yml @@ -0,0 +1,70 @@ +name: 视频拼接算法服务发布 + +on: + push: + tags: + - vs_algorithm_serviceV* + +jobs: + release: + name: 视频拼接算法服务发布 + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ "ubuntu-latest" ] #, "macos-latest", "windows-latest" + steps: + - name: 克隆代码 + uses: actions/checkout@v3 + - name: 创建发行版本 + id: create_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token + with: + tag_name: ${{ github.ref }} + release_name: ${{ github.ref }} + body_path: README.md + draft: false + prerelease: false + + amd64_job: + name: 视频拼接算法服务打包 + container: + image: jadehh/python:3.8.16-ubuntu18.04 + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ "ubuntu-latest" ] #, "macos-latest", "windows-latest" + steps: + - name: 下载代码 + uses: actions/checkout@v3 + with: + repository: jadehh/VideoStitching + ref: vs_algorithm_service + path: code + token: ${{ secrets.GH_PAT }} # `GH_PAT` is a secret that contains your PAT + - name: 安装pip环境 + run: | + pip install -r code/requirements.txt + pip uninstall -y numpy + - name: 打包编译 + run: | + cd code + python packing_app.py \ + --extra_sys_str /usr/local/site-packages,/usr/local/opencv \ + --is_exec True + - name: 发布 + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + files: + "./code/Output/*" + env: + GITHUB_TOKEN: ${{ secrets.GH_PAT }} # 给最高的权限 + + + + + diff --git a/README.md b/README.md index 8a40a2b..4e9344d 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,9 @@ -# jadehh_file -文件托管 +# 视频拼接算法服务 +## 视频拼接算法服务V1.0.3.8 - 2024-09-19 09:22:06 +vs_algorithm_serviceV1.0.3.8 +* [发布地址](https://github.com/jadehh/VideoStitching/releases/tag/vs_algorithm_serviceV1.0.3.8) +* [详细地址](https://github.com/jadehh/jadehh_file/releases/tag/vs_algorithm_serviceV1.0.3.8) +### 下载地址 +* [vs_algorithm_service_lib64.zip](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/vs_algorithm_serviceV1.0.3.8/vs_algorithm_service_lib64.zip) +* [vs_algorithm_service](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/vs_algorithm_serviceV1.0.3.8/vs_algorithm_service) +---- \ No newline at end of file