From 9fcdba788d65868401577041d6697c181bb1a49e Mon Sep 17 00:00:00 2001 From: Jamie Sykes Date: Wed, 31 Aug 2022 22:55:13 +0100 Subject: [PATCH] feat(ci): adds ability to automatically build and attach a new binary. --- .github/workflows/build-release.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build-release.yaml b/.github/workflows/build-release.yaml index 09b0a06..2cba437 100644 --- a/.github/workflows/build-release.yaml +++ b/.github/workflows/build-release.yaml @@ -20,6 +20,9 @@ jobs: - name: Get Release Notes run: ./changelog-checker > ${{ github.workspace }}-CHANGELOG.txt + - name: Build Binary + run: php ./changelog-checker app:build ${{github.ref_name}} + - name: Release uses: softprops/action-gh-release@v1 with: @@ -28,3 +31,5 @@ jobs: body_path: ${{ github.workspace }}-CHANGELOG.txt generate_release_notes: false token: ${{ secrets.MY_PAT }} + files: + builds/${{github.ref_name}}