Skip to content

Commit

Permalink
fix(ci): empty SHA
Browse files Browse the repository at this point in the history
  • Loading branch information
Desdaemon committed Aug 23, 2023
1 parent b588818 commit b7eb228
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ jobs:

- name: Get short SHA
id: sha
# run: echo "::set-output name=sha::$(echo '{{ github.sha }}' | cut -c1-8)"
run: echo "SHA=$(echo '${{ github.sha }}' | cut -c1-8)" >> "$GITHUB_ENV"

- name: Zip files
Expand Down Expand Up @@ -97,6 +96,9 @@ jobs:
cache-dependency-path: pnpm-lock.yaml
- run: pnpm install
- run: pnpm package
- name: Get short SHA
id: sha
run: echo "SHA=$(echo '${{ github.sha }}' | cut -c1-8)" >> "$GITHUB_ENV"
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit b7eb228

Please sign in to comment.