diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a6af71e..c93af60 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,8 +1,9 @@ name: Release on: - release: - types: [ created ] + push: +# release: +# types: [ created ] # See https://stackoverflow.com/a/72408109 concurrency: @@ -75,14 +76,14 @@ jobs: # The following section is done only for releases - name: Import GPG key - if: github.event_name == 'release' +# if: github.event_name == 'release' uses: crazy-max/ghaction-import-gpg@v6 with: gpg_private_key: ${{ secrets.GPG_KEY_9D0DD6FCB92C84688B777DF59204DEE8CAE9C22C }} passphrase: "${{ secrets.GPG_KEY_9D0DD6FCB92C84688B777DF59204DEE8CAE9C22C_PASSPHRASE }}" - name: Sign the PHAR - if: github.event_name == 'release' +# if: github.event_name == 'release' run: | gpg --local-user 9D0DD6FCB92C84688B777DF59204DEE8CAE9C22C \ --batch \ @@ -95,10 +96,10 @@ jobs: - name: Verify signature run: gpg --verify ${{ env.TODO_REGISTRAR_SIGN }} ${{ env.TODO_REGISTRAR_PHAR }} - - name: Upload PHAR to the release - uses: softprops/action-gh-release@v2 - with: - token: ${{ secrets.GH_RELEASE_TOKEN }} - files: | - ${{ env.TODO_REGISTRAR_PHAR }} - ${{ env.TODO_REGISTRAR_SIGN }} +# - name: Upload PHAR to the release +# uses: softprops/action-gh-release@v2 +# with: +# token: ${{ secrets.GH_RELEASE_TOKEN }} +# files: | +# ${{ env.TODO_REGISTRAR_PHAR }} +# ${{ env.TODO_REGISTRAR_SIGN }}