Skip to content

Commit

Permalink
on PR: github.head_ref
Browse files Browse the repository at this point in the history
  • Loading branch information
T-256 authored Jan 2, 2024
1 parent e90b5b8 commit de77fdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-win.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ jobs:

- name: Build tarball
shell: msys2 {0}
run: tar cvzf libcurl-impersonate-${{ github.ref_name }}.${{ matrix.env }}-win32.tar.gz -C ./build/dist .
run: tar cvzf libcurl-impersonate-${{ github.head_ref || github.ref_name }}.${{ matrix.env }}-win32.tar.gz -C ./build/dist .

- name: Upload release files
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
prerelease: true
files: libcurl-impersonate-${{ github.ref_name }}.${{ matrix.env }}-win32.tar.gz
files: libcurl-impersonate-${{ github.head_ref || github.ref_name }}.${{ matrix.env }}-win32.tar.gz

0 comments on commit de77fdd

Please sign in to comment.