浏览代码

Ensure proper release is checked out

CI may have been checking out development even though it was
doing everything else for release branch so when tags were applied
it was applied on the wrong branch.

Development and master should have been near the same except for
release bump.

Hard setting the checkout to the proper branch should fix this.

Closes: https://github.com/netbootxyz/netboot.xyz/issues/1294
Antony Messerli 1 年之前
父节点
当前提交
acedd58881
共有 3 个文件被更改,包括 6 次插入0 次删除
  1. 2 0
      .github/workflows/development.yml
  2. 2 0
      .github/workflows/release-candidate.yml
  3. 2 0
      .github/workflows/release.yml

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

@@ -19,6 +19,8 @@ jobs:
       contents: read
     steps:
     - uses: actions/checkout@v4
+      with:
+        ref: development
 
     - name: Retrieve Certs
       run: |

+ 2 - 0
.github/workflows/release-candidate.yml

@@ -19,6 +19,8 @@ jobs:
       contents: write
     steps:
     - uses: actions/checkout@v4
+      with:
+        ref: RC
 
     - name: Retrieve Certs
       run: |

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

@@ -18,6 +18,8 @@ jobs:
       contents: write
     steps:
     - uses: actions/checkout@v4
+      with:
+        ref: master
 
     - name: Retrieve Certs
       run: |