diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 227ccac..537054c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,6 +31,9 @@ jobs: fi echo "GIT_COMMIT_HASH=$hash" >> $GITHUB_ENV + - name: Checkout current repository and checkout pinned commit + uses: actions/checkout@v4 + - name: Get pinned commit from hyprpm.toml file run: | hash=$GIT_COMMIT_HASH @@ -45,10 +48,9 @@ jobs: fi echo "PINNED_COMMIT=$commit" >> $GITHUB_ENV - - name: Checkout current repository and checkout pinned commit - uses: actions/checkout@v4 - with: - ref: $PINNED_COMMIT + - name: Checkout pinned commit + run: | + git checkout $PINNED_COMMIT - name: Build current repository run: |