Skip to content

Commit

Permalink
Add release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
SzymonZos committed Apr 20, 2022
1 parent f28ed42 commit 5ed7591
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Release gos

permissions:
contents: write

on:
push:
tags:
- "v*.*.*"
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Initial Checkout
uses: actions/checkout@v2

- name: Install Quom to generate single header
run: pip install --user quom

- name: Amalgamate gos into single header
run: ~/.local/bin/quom ./include/gos/gos.hpp gos.hpp -I ./include -g SZO_GOS_.+_HPP

- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
gos.hpp
LICENSE
README.md

0 comments on commit 5ed7591

Please sign in to comment.