@@ -1,14 +1,18 @@
name: Release
+# Controls when the workflow will run
on:
- workflow_dispatch:
+ # Triggers the workflow on push or pull request events but only for the main branch
+ push:
+ branches: [ main ]
+ #tags:
+ # - '*'
+ pull_request:
release:
types: [published]
- push:
- #branches:
- # - main
- tags:
- - '*'
+ # Allows you to run this workflow manually from the Actions tab
+ workflow_dispatch:
jobs:
build:
@@ -84,4 +88,4 @@ jobs:
with:
files: ./oci-help-${{ steps.get_filename.outputs.ASSET_NAME }}.zip*
#draft: true
- #prerelease: true
+ #prerelease: true