diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8436604..57ff8ac 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,8 +1,6 @@ name: Build and Test on: - release: - types: [ published ] push: branches: - '**' @@ -58,6 +56,14 @@ jobs: build !build/libar.o + - name: Commit changes + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} + uses: EndBug/add-and-commit@v9 + with: + default_author: github_actions + message: new build files from action + add: '["build"]' + - name: Release uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/')