diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 4ea033477..ddd41be2e 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -1,4 +1,4 @@ -name: Nightly release +name: Nightly release permissions: id-token: write @@ -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 @@ -40,6 +40,7 @@ jobs: - name: Push manifest change uses: EndBug/add-and-commit@v8 + id: commit_manifest with: add: fxmanifest.lua push: true @@ -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/action-setup@v2.2.2 with: @@ -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" -