diff --git a/.github/workflows/actions/release.yml b/.github/workflows/actions/release.yml new file mode 100644 index 0000000..2975083 --- /dev/null +++ b/.github/workflows/actions/release.yml @@ -0,0 +1,30 @@ +name: release +run-name: Create github release +on: + push: + tags: + - "v*.*.*" +jobs: + + release: + runs-on: ubuntu-22.04 + + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Release + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + + - uses: ./.github/workflows/actions/setup + with: + conanprofile: gcc-12 + + - name: Build + shell: bash + run: | + conan create . --profile:host=gcc-12 --profile:build=gcc-12 --build=missing + + - name: Release + uses: softprops/action-gh-release@v1 \ No newline at end of file