Skip to content

Commit 01817f7

Browse files
committed
ci(nightly): checkout from the fxmanifest bump sha
1 parent c7053d9 commit 01817f7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/nightly.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Nightly release
1+
name: Nightly release
22

33
permissions:
44
id-token: write
@@ -14,9 +14,9 @@ on:
1414

1515
jobs:
1616
create-nightly-release:
17-
name: Create Nightly release
17+
name: Create Nightly release
1818
runs-on: ubuntu-latest
19-
19+
2020
steps:
2121
- name: Checkout source code
2222
uses: actions/checkout@v4
@@ -40,6 +40,7 @@ jobs:
4040

4141
- name: Push manifest change
4242
uses: EndBug/add-and-commit@v8
43+
id: commit_manifest
4344
with:
4445
add: fxmanifest.lua
4546
push: true
@@ -48,12 +49,12 @@ jobs:
4849
message: "chore: bump manifest version to nightly ${{ steps.get_tag.outputs.release_tag }}"
4950

5051

51-
# super hacky
52+
# super hacky
5253
- name: Checkout source code
5354
uses: actions/checkout@v4
5455
with:
55-
fetch-depth: 0
56-
56+
ref: ${{ steps.commit_manifest.outputs.commit_sha }}
57+
5758
- name: Install pnpm
5859
uses: pnpm/[email protected]
5960
with:
@@ -113,4 +114,3 @@ jobs:
113114
-H "Content-Type: application/octet-stream" \
114115
"https://uploads.github.com/repos/project-error/npwd/releases/${{ steps.auto_release.outputs.release_id }}/assets?name=npwd.zip" \
115116
--data-binary "@npwd.zip"
116-

0 commit comments

Comments
 (0)