123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481 |
- name: "Release"
- # @see https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestbranchestags
- on:
- push:
- tags:
- - v6*
- # For draft, need write permission.
- permissions:
- contents: write
- jobs:
- envs:
- name: envs
- steps:
- ##################################################################################################################
- # Git checkout
- - name: Checkout repository
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- # The github.ref is, for example, refs/tags/v6.0.145 or refs/tags/v6.0-r8
- # Generate variables like:
- # SRS_TAG=v6.0-r8
- # SRS_TAG=v6.0.145
- # SRS_VERSION=6.0.145
- # SRS_VERSION=6.0-r8
- # SRS_MAJOR=6
- # SRS_XYZ=6.0.145
- # @see https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-environment-variable
- - name: Generate varaiables
- run: |
- SRS_TAG=$(echo ${{ github.ref }}| awk -F '/' '{print $3}')
- echo "SRS_TAG=$SRS_TAG" >> $GITHUB_ENV
- SRS_VERSION=$(echo ${SRS_TAG}| sed 's/^v//g')
- echo "SRS_VERSION=$SRS_VERSION" >> $GITHUB_ENV
- SRS_MAJOR=$(echo $SRS_TAG| cut -c 2)
- echo "SRS_MAJOR=$SRS_MAJOR" >> $GITHUB_ENV
- VFILE="trunk/src/core/srs_core_version6.hpp"
- SRS_X=$(cat $VFILE |grep VERSION_MAJOR |awk '{print $3}')
- SRS_Y=$(cat $VFILE |grep VERSION_MINOR |awk '{print $3}')
- SRS_Z=$(cat $VFILE |grep VERSION_REVISION |awk '{print $3}')
- SRS_XYZ=$SRS_X.$SRS_Y.$SRS_Z
- echo "SRS_XYZ=$SRS_XYZ" >> $GITHUB_ENV
- # Map a step output to a job output, see https://docs.github.com/en/actions/using-jobs/defining-outputs-for-jobs
- outputs:
- SRS_TAG: ${{ env.SRS_TAG }}
- SRS_VERSION: ${{ env.SRS_VERSION }}
- SRS_MAJOR: ${{ env.SRS_MAJOR }}
- SRS_XYZ: ${{ env.SRS_XYZ }}
- runs-on: ubuntu-20.04
- test:
- name: test
- needs:
- - envs
- steps:
- ##################################################################################################################
- - name: Covert output to env
- run: |
- echo "SRS_TAG=${{ needs.envs.outputs.SRS_TAG }}" >> $GITHUB_ENV
- echo "SRS_VERSION=${{ needs.envs.outputs.SRS_VERSION }}" >> $GITHUB_ENV
- echo "SRS_MAJOR=${{ needs.envs.outputs.SRS_MAJOR }}" >> $GITHUB_ENV
- ##################################################################################################################
- # Git checkout
- - name: Checkout repository
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- ##################################################################################################################
- # Tests
- - name: Build test image
- run: docker build --tag srs:test -f trunk/Dockerfile.test .
- # For utest
- - name: Run SRS utest
- run: docker run --rm srs:test bash -c 'make utest && ./objs/srs_utest'
- # For regression-test
- - name: Run SRS regression-test
- run: |
- docker run --rm srs:test bash -c 'make && \
- ./objs/srs -c conf/regression-test.conf && \
- cd 3rdparty/srs-bench && make && ./objs/srs_test -test.v'
- runs-on: ubuntu-20.04
- draft:
- name: draft
- needs:
- - envs
- steps:
- - name: Create release draft
- id: create_draft
- uses: ncipollo/release-action@a2e71bdd4e7dab70ca26a852f29600c98b33153e # v1.12.0
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- with:
- allowUpdates: true
- tag: ${{ github.ref }}
- draft: true
- prerelease: true
- # Map a step output to a job output, see https://docs.github.com/en/actions/using-jobs/defining-outputs-for-jobs
- outputs:
- SRS_RELEASE_ID: ${{ steps.create_draft.outputs.id }}
- runs-on: ubuntu-20.04
- cygwin64:
- name: cygwin64
- needs:
- - envs
- - draft
- steps:
- # See https://github.com/cygwin/cygwin-install-action#parameters
- # Note that https://github.com/egor-tensin/setup-cygwin fails to install packages.
- - name: Setup Cygwin
- uses: cygwin/cygwin-install-action@006ad0b0946ca6d0a3ea2d4437677fa767392401 # master
- with:
- platform: x86_64
- packages: bash make gcc-g++ cmake automake patch pkg-config tcl unzip
- install-dir: C:\cygwin64
- ##################################################################################################################
- - name: Checkout repository
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- ##################################################################################################################
- - name: Covert output to env
- env:
- SHELLOPTS: igncr
- shell: C:\cygwin64\bin\bash.exe --login '{0}'
- run: |
- echo "SRS_TAG=${{ needs.envs.outputs.SRS_TAG }}" >> $GITHUB_ENV
- echo "SRS_VERSION=${{ needs.envs.outputs.SRS_VERSION }}" >> $GITHUB_ENV
- echo "SRS_MAJOR=${{ needs.envs.outputs.SRS_MAJOR }}" >> $GITHUB_ENV
- echo "SRS_RELEASE_ID=${{ needs.draft.outputs.SRS_RELEASE_ID }}" >> $GITHUB_ENV
- ##################################################################################################################
- - name: Build SRS
- env:
- SHELLOPTS: igncr
- SRS_WORKSPACE: ${{ github.workspace }}
- shell: C:\cygwin64\bin\bash.exe --login '{0}'
- run: |
- export PATH=/usr/bin:/usr/local/bin &&
- which make gcc g++ patch cmake pkg-config uname grep sed &&
- (make --version; gcc --version; patch --version; cmake --version; pkg-config --version) &&
- (aclocal --version; autoconf --version; automake --version; uname -a) &&
- cd $(cygpath -u $SRS_WORKSPACE)/trunk && ./configure --gb28181=on --h265=on && make
- ##################################################################################################################
- - name: Package SRS
- env:
- SHELLOPTS: igncr
- SRS_WORKSPACE: ${{ github.workspace }}
- shell: C:\cygwin64\bin\bash.exe --login '{0}'
- run: |
- cd $(cygpath -u $SRS_WORKSPACE) &&
- if [[ $(echo $SRS_TAG |grep -qE '^v' && echo YES) != YES ]]; then
- SRS_VERSION=$(./trunk/objs/srs -v 2>&1); echo "Change version to ${SRS_VERSION}";
- fi &&
- "/cygdrive/c/Program Files (x86)/NSIS/makensis.exe" /DSRS_VERSION=${SRS_VERSION} \
- /DCYGWIN_DIR="C:\cygwin64" trunk/packaging/nsis/srs.nsi &&
- mv trunk/packaging/nsis/SRS-Windows-x86_64-${SRS_VERSION}-setup.exe . && ls -lh *.exe &&
- echo "SRS_CYGWIN_TAR=SRS-Windows-x86_64-${SRS_VERSION}-setup.exe" >> $GITHUB_ENV &&
- echo "SRS_CYGWIN_MD5=$(md5sum SRS-Windows-x86_64-${SRS_VERSION}-setup.exe| awk '{print $1}')" >> $GITHUB_ENV
- ##################################################################################################################
- - name: Upload Release Assets Cygwin
- id: upload-release-assets-cygwin
- uses: dwenegar/upload-release-assets@5bc3024cf83521df8ebfadf00ad0c4614fd59148 # v1
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- with:
- release_id: ${{ env.SRS_RELEASE_ID }}
- assets_path: ${{ env.SRS_CYGWIN_TAR }}
- # Map a step output to a job output, see https://docs.github.com/en/actions/using-jobs/defining-outputs-for-jobs
- outputs:
- SRS_CYGWIN_TAR: ${{ env.SRS_CYGWIN_TAR }}
- SRS_CYGWIN_MD5: ${{ env.SRS_CYGWIN_MD5 }}
- runs-on: windows-latest
- linux:
- name: linux
- needs:
- - envs
- - draft
- steps:
- ##################################################################################################################
- - name: Covert output to env
- run: |
- echo "SRS_TAG=${{ needs.envs.outputs.SRS_TAG }}" >> $GITHUB_ENV
- echo "SRS_VERSION=${{ needs.envs.outputs.SRS_VERSION }}" >> $GITHUB_ENV
- echo "SRS_MAJOR=${{ needs.envs.outputs.SRS_MAJOR }}" >> $GITHUB_ENV
- echo "SRS_RELEASE_ID=${{ needs.draft.outputs.SRS_RELEASE_ID }}" >> $GITHUB_ENV
- ##################################################################################################################
- # Git checkout
- - name: Checkout repository
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- ##################################################################################################################
- # Create source tar for release. Note that it's for OpenWRT package srs-server, so the filename MUST be
- # srs-server-xxx.tar.gz, because the package is named srs-server.
- # Generate variables like:
- # SRS_SOURCE_TAR=srs-server-6.0.145.tar.gz
- # SRS_SOURCE_MD5=83e38700a80a26e30b2df054e69956e5
- - name: Create source tar.gz
- run: |
- DEST_DIR=srs-server-$SRS_VERSION && mkdir -p $DEST_DIR &&
- cp README.md $DEST_DIR && cp LICENSE $DEST_DIR && cp -R trunk $DEST_DIR/trunk &&
- (cd $DEST_DIR/trunk/3rdparty && rm -rf *.zip openssl-*.gz srs-bench) &&
- tar zcf ${DEST_DIR}.tar.gz ${DEST_DIR} && du -sh ${DEST_DIR}* && rm -rf ${DEST_DIR} &&
- echo "SRS_SOURCE_TAR=${DEST_DIR}.tar.gz" >> $GITHUB_ENV &&
- echo "SRS_SOURCE_MD5=$(md5sum ${DEST_DIR}.tar.gz| awk '{print $1}')" >> $GITHUB_ENV
- # Create package tar for release
- # Generate variables like:
- # SRS_PACKAGE_ZIP=SRS-CentOS7-x86_64-6.0.145.zip
- # SRS_PACKAGE_MD5=3880a26e30b283edf05700a4e69956e5
- - name: Create package zip
- env:
- PACKAGER: ${{ secrets.SRS_PACKAGER_BINARY }}
- run: |
- docker build --tag srs:pkg --build-arg version=$SRS_VERSION --build-arg SRS_AUTO_PACKAGER=$PACKAGER -f trunk/Dockerfile.pkg . &&
- SRS_PACKAGE_ZIP=SRS-CentOS7-x86_64-$SRS_VERSION.zip &&
- docker run --rm -v $(pwd):/output srs:pkg cp objs/$SRS_PACKAGE_ZIP /output/ &&
- du -sh $SRS_PACKAGE_ZIP &&
- echo "SRS_PACKAGE_ZIP=$SRS_PACKAGE_ZIP" >> $GITHUB_ENV &&
- echo "SRS_PACKAGE_MD5=$(md5sum $SRS_PACKAGE_ZIP| awk '{print $1}')" >> $GITHUB_ENV
- ##################################################################################################################
- - name: Upload Release Assets Packager
- id: upload-release-assets-packager
- uses: dwenegar/upload-release-assets@5bc3024cf83521df8ebfadf00ad0c4614fd59148 # v1
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- with:
- release_id: ${{ env.SRS_RELEASE_ID }}
- assets_path: ${{ env.SRS_PACKAGE_ZIP }}
- - name: Upload Release Assets Source
- id: upload-release-assets-source
- uses: dwenegar/upload-release-assets@5bc3024cf83521df8ebfadf00ad0c4614fd59148 # v1
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- with:
- release_id: ${{ env.SRS_RELEASE_ID }}
- assets_path: ${{ env.SRS_SOURCE_TAR }}
- # Map a step output to a job output, see https://docs.github.com/en/actions/using-jobs/defining-outputs-for-jobs
- outputs:
- SRS_PACKAGE_ZIP: ${{ env.SRS_PACKAGE_ZIP }}
- SRS_PACKAGE_MD5: ${{ env.SRS_PACKAGE_MD5 }}
- SRS_SOURCE_TAR: ${{ env.SRS_SOURCE_TAR }}
- SRS_SOURCE_MD5: ${{ env.SRS_SOURCE_MD5 }}
- runs-on: ubuntu-20.04
- docker-srs:
- name: docker-srs
- needs:
- - envs
- steps:
- ##################################################################################################################
- - name: Covert output to env
- run: |
- echo "SRS_TAG=${{ needs.envs.outputs.SRS_TAG }}" >> $GITHUB_ENV
- echo "SRS_VERSION=${{ needs.envs.outputs.SRS_VERSION }}" >> $GITHUB_ENV
- echo "SRS_MAJOR=${{ needs.envs.outputs.SRS_MAJOR }}" >> $GITHUB_ENV
- echo "SRS_XYZ=${{ needs.envs.outputs.SRS_XYZ }}" >> $GITHUB_ENV
- ##################################################################################################################
- # Git checkout
- - name: Checkout repository
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- # See https://github.com/crazy-max/ghaction-docker-buildx#moved-to-docker-organization
- # https://github.com/docker/setup-qemu-action
- - name: Set up QEMU
- uses: docker/setup-qemu-action@e81a89b1732b9c48d79cd809d8d81d79c4647a18 # v2.1.0
- # https://github.com/docker/setup-buildx-action
- - name: Set up Docker Buildx
- uses: docker/setup-buildx-action@8c0edbc76e98fa90f69d9a2c020dcb50019dc325 # v2.2.1
- ##################################################################################################################
- # Create main images for Docker
- - name: Login to docker hub
- uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2.1.0
- with:
- username: "${{ secrets.DOCKER_USERNAME }}"
- password: "${{ secrets.DOCKER_PASSWORD }}"
- - name: Build and push images to Docker hub
- env:
- PACKAGER: ${{ secrets.SRS_PACKAGER_DOCKER }}
- run: |
- echo "Release ossrs/srs:$SRS_TAG"
- docker buildx build --platform linux/arm/v7,linux/arm64/v8,linux/amd64 \
- --output "type=image,push=true" \
- -t ossrs/srs:$SRS_TAG --build-arg SRS_AUTO_PACKAGER=$PACKAGER \
- --build-arg CONFARGS='--sanitizer=off --gb28181=on' \
- -f Dockerfile .
- # Docker alias images
- # TODO: FIXME: If stable, please set the latest from 5.0 to 6.0
- - name: Docker alias images for ossrs/srs
- uses: akhilerm/tag-push-action@85bf542f43f5f2060ef76262a67ee3607cb6db37 # v2.1.0
- with:
- src: ossrs/srs:${{ env.SRS_TAG }}
- dst: |
- ossrs/srs:${{ env.SRS_VERSION }}
- ossrs/srs:${{ env.SRS_MAJOR }}
- ossrs/srs:v${{ env.SRS_MAJOR }}
- ossrs/srs:${{ env.SRS_XYZ }}
- ossrs/srs:v${{ env.SRS_XYZ }}
- runs-on: ubuntu-20.04
- aliyun-srs:
- name: aliyun-srs
- needs:
- - envs
- - docker-srs
- - test
- steps:
- ##################################################################################################################
- - name: Covert output to env
- run: |
- echo "SRS_TAG=${{ needs.envs.outputs.SRS_TAG }}" >> $GITHUB_ENV
- echo "SRS_VERSION=${{ needs.envs.outputs.SRS_VERSION }}" >> $GITHUB_ENV
- echo "SRS_MAJOR=${{ needs.envs.outputs.SRS_MAJOR }}" >> $GITHUB_ENV
- echo "SRS_XYZ=${{ needs.envs.outputs.SRS_XYZ }}" >> $GITHUB_ENV
- # Aliyun ACR
- # TODO: FIXME: If stable, please set the latest from 5.0 to 6.0
- - name: Login aliyun hub
- uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2.1.0
- with:
- registry: registry.cn-hangzhou.aliyuncs.com
- username: "${{ secrets.ACR_USERNAME }}"
- password: "${{ secrets.ACR_PASSWORD }}"
- - name: Push to Aliyun registry for ossrs/srs
- uses: akhilerm/tag-push-action@85bf542f43f5f2060ef76262a67ee3607cb6db37 # v2.1.0
- with:
- src: ossrs/srs:${{ env.SRS_TAG }}
- dst: |
- registry.cn-hangzhou.aliyuncs.com/ossrs/srs:${{ env.SRS_TAG }}
- registry.cn-hangzhou.aliyuncs.com/ossrs/srs:${{ env.SRS_VERSION }}
- registry.cn-hangzhou.aliyuncs.com/ossrs/srs:${{ env.SRS_MAJOR }}
- registry.cn-hangzhou.aliyuncs.com/ossrs/srs:v${{ env.SRS_MAJOR }}
- registry.cn-hangzhou.aliyuncs.com/ossrs/srs:${{ env.SRS_XYZ }}
- registry.cn-hangzhou.aliyuncs.com/ossrs/srs:v${{ env.SRS_XYZ }}
- runs-on: ubuntu-20.04
- update:
- name: update
- needs:
- - aliyun-srs
- - envs
- steps:
- ##################################################################################################################
- - name: Covert output to env
- run: |
- echo "SRS_TAG=${{ needs.envs.outputs.SRS_TAG }}" >> $GITHUB_ENV
- echo "SRS_VERSION=${{ needs.envs.outputs.SRS_VERSION }}" >> $GITHUB_ENV
- echo "SRS_MAJOR=${{ needs.envs.outputs.SRS_MAJOR }}" >> $GITHUB_ENV
- ##################################################################################################################
- # Git checkout
- - name: Checkout repository
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- ##################################################################################################################
- # Generate variables like:
- # SRS_LH_OSSRS_NET=1.2.3.4
- - name: Build variables for lh.ossrs.net
- run: |
- SRS_LH_OSSRS_NET=$(dig +short lh.ossrs.net)
- SRS_D_OSSRS_NET=$(dig +short d.ossrs.net)
- echo "SRS_LH_OSSRS_NET=$SRS_LH_OSSRS_NET" >> $GITHUB_ENV
- echo "SRS_D_OSSRS_NET=$SRS_D_OSSRS_NET" >> $GITHUB_ENV
- - name: Release to lh.ossrs.net
- uses: appleboy/ssh-action@c1965ddd2563844fddc1ec01cafc798365706143 # master
- with:
- host: ${{ env.SRS_LH_OSSRS_NET }}
- username: root
- key: ${{ secrets.DIGITALOCEAN_SSHKEY }}
- port: 22
- envs: SRS_MAJOR
- timeout: 60s
- command_timeout: 30m
- script: |
- docker pull registry.cn-hangzhou.aliyuncs.com/ossrs/srs:$SRS_MAJOR
- docker rm -f srs-dev
- #
- # Cleanup old docker images.
- for image in $(docker images |grep '<none>' |awk '{print $3}'); do
- docker rmi -f $image
- echo "Remove image $image, r0=$?"
- done
- - name: Release to d.ossrs.net
- uses: appleboy/ssh-action@c1965ddd2563844fddc1ec01cafc798365706143 # master
- with:
- host: ${{ env.SRS_D_OSSRS_NET }}
- username: root
- key: ${{ secrets.DIGITALOCEAN_SSHKEY }}
- port: 22
- envs: SRS_MAJOR
- timeout: 60s
- command_timeout: 30m
- script: |
- docker pull ossrs/srs:$SRS_MAJOR
- docker rm -f srs-dev
- #
- # Cleanup old docker images.
- for image in $(docker images |grep '<none>' |awk '{print $3}'); do
- docker rmi -f $image
- echo "Remove image $image, r0=$?"
- done
- runs-on: ubuntu-20.04
- release:
- name: release
- needs:
- - update
- - envs
- - draft
- - cygwin64
- - linux
- steps:
- ##################################################################################################################
- - name: Covert output to env
- run: |
- echo "SRS_TAG=${{ needs.envs.outputs.SRS_TAG }}" >> $GITHUB_ENV
- echo "SRS_VERSION=${{ needs.envs.outputs.SRS_VERSION }}" >> $GITHUB_ENV
- echo "SRS_MAJOR=${{ needs.envs.outputs.SRS_MAJOR }}" >> $GITHUB_ENV
- echo "SRS_XYZ=${{ needs.envs.outputs.SRS_XYZ }}" >> $GITHUB_ENV
- echo "SRS_RELEASE_ID=${{ needs.draft.outputs.SRS_RELEASE_ID }}" >> $GITHUB_ENV
- echo "SRS_PACKAGE_ZIP=${{ needs.linux.outputs.SRS_PACKAGE_ZIP }}" >> $GITHUB_ENV
- echo "SRS_PACKAGE_MD5=${{ needs.linux.outputs.SRS_PACKAGE_MD5 }}" >> $GITHUB_ENV
- echo "SRS_SOURCE_TAR=${{ needs.linux.outputs.SRS_SOURCE_TAR }}" >> $GITHUB_ENV
- echo "SRS_SOURCE_MD5=${{ needs.linux.outputs.SRS_SOURCE_MD5 }}" >> $GITHUB_ENV
- echo "SRS_CYGWIN_TAR=${{ needs.cygwin64.outputs.SRS_CYGWIN_TAR }}" >> $GITHUB_ENV
- echo "SRS_CYGWIN_MD5=${{ needs.cygwin64.outputs.SRS_CYGWIN_MD5 }}" >> $GITHUB_ENV
- ##################################################################################################################
- # Git checkout
- - name: Checkout repository
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- # Create release.
- # TODO: FIXME: Refine the release when 6.0 released
- # TODO: FIXME: Change prerelease to false and makeLatest to true when 6.0 released
- - name: Update release
- id: update_release
- uses: ncipollo/release-action@a2e71bdd4e7dab70ca26a852f29600c98b33153e # v1.12.0
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- with:
- allowUpdates: true
- tag: ${{ github.ref }}
- name: Release ${{ env.SRS_TAG }}
- body: |
- If you would like to support SRS, please consider contributing to our [OpenCollective](https://opencollective.com/srs-server).
-
- [${{ github.sha }}](https://github.com/ossrs/srs/commit/${{ github.sha }})
- ${{ github.event.head_commit.message }}
-
- ## Resource
- * Source: ${{ env.SRS_SOURCE_MD5 }} [${{ env.SRS_SOURCE_TAR }}](https://github.com/ossrs/srs/releases/download/${{ env.SRS_TAG }}/${{ env.SRS_SOURCE_TAR }})
- * Binary: ${{ env.SRS_PACKAGE_MD5 }} [${{ env.SRS_PACKAGE_ZIP }}](https://github.com/ossrs/srs/releases/download/${{ env.SRS_TAG }}/${{ env.SRS_PACKAGE_ZIP }})
- * Binary: ${{ env.SRS_CYGWIN_MD5 }} [${{ env.SRS_CYGWIN_TAR }}](https://github.com/ossrs/srs/releases/download/${{ env.SRS_TAG }}/${{ env.SRS_CYGWIN_TAR }})
-
- ## Resource Mirror: gitee.com
- * Source: ${{ env.SRS_SOURCE_MD5 }} [${{ env.SRS_SOURCE_TAR }}](https://gitee.com/ossrs/srs/releases/download/${{ env.SRS_TAG }}/${{ env.SRS_SOURCE_TAR }})
- * Binary: ${{ env.SRS_PACKAGE_MD5 }} [${{ env.SRS_PACKAGE_ZIP }}](https://gitee.com/ossrs/srs/releases/download/${{ env.SRS_TAG }}/${{ env.SRS_PACKAGE_ZIP }})
- * Binary: ${{ env.SRS_CYGWIN_MD5 }} [${{ env.SRS_CYGWIN_TAR }}](https://gitee.com/ossrs/srs/releases/download/${{ env.SRS_TAG }}/${{ env.SRS_CYGWIN_TAR }})
-
- ## Docker
- * [docker pull ossrs/srs:${{ env.SRS_MAJOR }}](https://ossrs.io/lts/en-us/docs/v6/doc/getting-started)
- * [docker pull ossrs/srs:${{ env.SRS_TAG }}](https://ossrs.io/lts/en-us/docs/v6/doc/getting-started)
- * [docker pull ossrs/srs:${{ env.SRS_XYZ }}](https://ossrs.io/lts/en-us/docs/v6/doc/getting-started)
-
- ## Docker Mirror: aliyun.com
- * [docker pull registry.cn-hangzhou.aliyuncs.com/ossrs/srs:${{ env.SRS_MAJOR }}](https://ossrs.net/lts/zh-cn/docs/v6/doc/getting-started)
- * [docker pull registry.cn-hangzhou.aliyuncs.com/ossrs/srs:${{ env.SRS_TAG }}](https://ossrs.net/lts/zh-cn/docs/v6/doc/getting-started)
- * [docker pull registry.cn-hangzhou.aliyuncs.com/ossrs/srs:${{ env.SRS_XYZ }}](https://ossrs.net/lts/zh-cn/docs/v6/doc/getting-started)
-
- ## Doc: ossrs.io
- * [Getting Started](https://ossrs.io/lts/en-us/docs/v6/doc/getting-started)
- * [Wiki home](https://ossrs.io/lts/en-us/docs/v6/doc/introduction)
- * [FAQ](https://ossrs.io/lts/en-us/faq), [Features](https://github.com/ossrs/srs/blob/${{ github.sha }}/trunk/doc/Features.md#features) or [ChangeLogs](https://github.com/ossrs/srs/blob/${{ github.sha }}/trunk/doc/CHANGELOG.md#changelog)
-
- ## Doc: ossrs.net
- * [快速入门](https://ossrs.net/lts/zh-cn/docs/v6/doc/getting-started)
- * [中文Wiki首页](https://ossrs.net/lts/zh-cn/docs/v6/doc/introduction)
- * [中文FAQ](https://ossrs.net/lts/zh-cn/faq), [功能列表](https://github.com/ossrs/srs/blob/${{ github.sha }}/trunk/doc/Features.md#features) 或 [修订历史](https://github.com/ossrs/srs/blob/${{ github.sha }}/trunk/doc/CHANGELOG.md#changelog)
- draft: false
- prerelease: true
- makeLatest: false
- runs-on: ubuntu-20.04
- release-done:
- runs-on: ubuntu-20.04
- needs:
- - update
- - release
- steps:
- - run: echo 'All done'
|