Explorar o código

Also use branches named main in workflow

Since GitHub defaults to 'main' now, also include it in the workflow
when building, so developers don't have to change branch names
if they choose to use it.
cg2121 %!s(int64=2) %!d(string=hai) anos
pai
achega
4b1ec1bb3a
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      .github/workflows/main.yml

+ 2 - 0
.github/workflows/main.yml

@@ -6,6 +6,7 @@ on:
       - '**.md'
     branches:
       - master
+      - main
     tags:
       - '*'
   pull_request:
@@ -13,6 +14,7 @@ on:
       - '**.md'
     branches:
       - master
+      - main
 
 env:
   PLUGIN_NAME: 'obs-plugintemplate'