소스 검색

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: |