Skip to content

1. update workflow yaml file; #1

1. update workflow yaml file;

1. update workflow yaml file; #1

Workflow file for this run

name: Publish package to GitHub Packages

Check failure on line 1 in .github/workflows/push.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/push.yaml

Invalid workflow file

`publish` is not a valid event name
on:
publish:
branches:
- release-v1
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Publish package
run: mvn --batch-mode deploy -pl bifromq-integration-sdk
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}