From da2406a4f35717b2f8c1e0843c0001068d535bbe Mon Sep 17 00:00:00 2001 From: Shuanglei Tao Date: Wed, 28 Aug 2019 23:03:41 +0800 Subject: [PATCH] github: add release workflow --- .github/workflows/release.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/release.yml 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 -- 2.43.4