Add github-ci release workflow

This commit is contained in:
John Zimmermann 2023-10-21 19:16:59 +02:00
parent f4385255be
commit 362629706c

31
.github/workflows/release.yml vendored Normal file
View file

@ -0,0 +1,31 @@
name: Release
on:
push:
tags:
- '*'
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Bootstrap
run: ./bootstrap.sh
- name: Configure
run: ./configure
- name: Make dist
run: make dist
- name: Upload dist to Release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: obstack-*.tar.gz
tag: ${{ github.ref }}
file_glob: true