Skip to content

Commit

Permalink
ci(nightly): checkout from the fxmanifest bump sha
Browse files Browse the repository at this point in the history
  • Loading branch information
itschip committed Jan 26, 2024
1 parent c7053d9 commit 01817f7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Nightly release
name: Nightly release

permissions:
id-token: write
Expand All @@ -14,9 +14,9 @@ on:

jobs:
create-nightly-release:
name: Create Nightly release
name: Create Nightly release
runs-on: ubuntu-latest

steps:
- name: Checkout source code
uses: actions/checkout@v4
Expand All @@ -40,6 +40,7 @@ jobs:

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


# super hacky
# super hacky
- name: Checkout source code
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ steps.commit_manifest.outputs.commit_sha }}

- name: Install pnpm
uses: pnpm/[email protected]
with:
Expand Down Expand Up @@ -113,4 +114,3 @@ jobs:
-H "Content-Type: application/octet-stream" \
"https://uploads.github.com/repos/project-error/npwd/releases/${{ steps.auto_release.outputs.release_id }}/assets?name=npwd.zip" \
--data-binary "@npwd.zip"

0 comments on commit 01817f7

Please sign in to comment.