From: Shuanglei Tao Date: Wed, 28 Aug 2019 15:03:41 +0000 (+0800) Subject: github: add release workflow X-Git-Url: http://git.prime8.dev/?a=commitdiff_plain;h=da2406a4f35717b2f8c1e0843c0001068d535bbe;p=ttyd.git github: add release workflow --- diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..728c7c1 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,16 @@ +name: release + +on: + push: + tags: + - "*" + +jobs: + build: + runs-on: ubuntu-16.04 + steps: + - uses: actions/checkout@v1 + - name: build release archive + run: | + docker run --rm -v $(pwd):/ttyd -w /ttyd -e TTYD_VERSION=$GITHUB_SHA tsl0922/musl-cross ./scripts/cross-build.sh + ls -l bin