mirror of
https://github.com/gradle/actions.git
synced 2025-12-06 07:48:07 +08:00
Remove branch specification from examples
This commit is contained in:
@@ -12,9 +12,7 @@ The intention is to eventually deprecate `gradle-build-action` with this being t
|
||||
```yaml
|
||||
name: Build
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
on: [ push ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -43,10 +41,7 @@ Simply add this as a new workflow file to your repository (eg `.github/workflows
|
||||
```yaml
|
||||
name: Dependency Submission
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
on: [ push ]
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
Reference in New Issue
Block a user