diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8436604..825381e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,11 +1,12 @@ name: Build and Test on: - release: - types: [ published ] push: branches: - '**' + create: + tags: + - '**' jobs: build: @@ -58,6 +59,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/')