mirror of
https://github.com/xxh/xxh
synced 2024-11-15 00:37:05 +00:00
Create main.yml
This commit is contained in:
parent
b902a94193
commit
c0fe4d4c8d
1 changed files with 26 additions and 0 deletions
26
.github/workflows/main.yml
vendored
Normal file
26
.github/workflows/main.yml
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
name: Build portable Fish shell
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [created]
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install xonsh shell
|
||||
run: apt update && apt install -y git python3-pip && pip3 install xonsh
|
||||
- name: Build xxh-appimage
|
||||
run: xonsh xxh-appimage-build.xsh
|
||||
- name: Build xxh-portable-musl-alpine-build
|
||||
run: xonsh xxh-portable-musl-alpine-build.xsh
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
files: |
|
||||
build/xxh-x86_64.AppImage
|
||||
build/xxh-portable-musl-alpine-Linux-x86_64.tar.gz
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in a new issue