From 362629706cb24a68b5e02876f0250df95e2e3f8d Mon Sep 17 00:00:00 2001 From: John Zimmermann Date: Sat, 21 Oct 2023 19:16:59 +0200 Subject: [PATCH] Add github-ci release workflow --- .github/workflows/release.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 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..c709a19 --- /dev/null +++ b/.github/workflows/release.yml @@ -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