Skip to content

Commit 275b380

Browse files
authored
Update release.yml
1 parent aa5b7cf commit 275b380

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
name: Release
22

3+
# Controls when the workflow will run
34
on:
4-
workflow_dispatch:
5+
# Triggers the workflow on push or pull request events but only for the main branch
6+
push:
7+
branches: [ main ]
8+
#tags:
9+
# - '*'
10+
pull_request:
11+
branches: [ main ]
512
release:
613
types: [published]
7-
push:
8-
#branches:
9-
# - main
10-
tags:
11-
- '*'
14+
# Allows you to run this workflow manually from the Actions tab
15+
workflow_dispatch:
1216

1317
jobs:
1418
build:
@@ -84,4 +88,4 @@ jobs:
8488
with:
8589
files: ./oci-help-${{ steps.get_filename.outputs.ASSET_NAME }}.zip*
8690
#draft: true
87-
#prerelease: true
91+
#prerelease: true

0 commit comments

Comments
 (0)