mirror of
https://github.com/tsl0922/ttyd.git
synced 2025-12-25 21:14:21 +01:00
20 lines
436 B
YAML
20 lines
436 B
YAML
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
|
|
- uses: ncipollo/release-action@v1
|
|
with:
|
|
artifact: "bin/*"
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|