Browse Source

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 year ago
parent
commit
acedd58881

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