Sfoglia il codice sorgente

fix: downgrade to checkout@v1 as v2 can't fetch tags

tophf 4 anni fa
parent
commit
e1ae02074c
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1 1
      .github/workflows/ci.yml
  2. 1 1
      .github/workflows/release.yml

+ 1 - 1
.github/workflows/ci.yml

@@ -4,7 +4,7 @@ on:
   push:
     branches: [master]
     tags-ignore:
-      - 'v*' # version-tagged commits are releases which have their own workflow
+      - v* # version-tagged commits are releases which have their own workflow
     paths-ignore:
       - '.github/**' # this ci.yml is also excluded so you need to re-run it explicitly if necessary
       - LICENSE

+ 1 - 1
.github/workflows/release.yml

@@ -9,7 +9,7 @@ jobs:
   build:
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v1 # v1 keeps tags
         with:
           fetch-depth: 100 # for `action-helper`
           persist-credentials: false