Skip to content

Commit 095fb9d

Browse files
authored
Merge pull request #10 from Zingo21/automations
Update flutter-desktop-deployment.yml
2 parents aefaec0 + 818cebb commit 095fb9d

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/flutter-desktop-deployment.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ jobs:
4444
uses: thedoctor0/zip-release@master
4545
with:
4646
type: 'zip'
47-
filename: github_client-${{github.ref_name}}-linux.zip
47+
filename: github_client-${{github.head_ref}}-linux.zip
4848
directory: build/linux/x64/release/bundle
4949
- name: Release to github
5050
uses: softprops/action-gh-release@v1
5151
env:
5252
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5353
with:
5454
tag_name: ${{github.head_ref}}
55-
files: build/linux/x64/release/bundle/github_client-${{github.ref_name}}-linux.zip
55+
files: build/linux/x64/release/bundle/github_client-${{github.head_ref}}-linux.zip
5656

5757
windows:
5858
name: Windows build and release
@@ -75,15 +75,15 @@ jobs:
7575
uses: thedoctor0/zip-release@master
7676
with:
7777
type: 'zip'
78-
filename: github_client-${{github.ref_name}}-windows.zip
78+
filename: github_client-${{github.head_ref}}-windows.zip
7979
directory: build/windows/runner/Release
8080
- name: Release to github
8181
uses: softprops/action-gh-release@v1
8282
env:
8383
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8484
with:
8585
tag_name: ${{github.head_ref}}
86-
files: build/windows/runner/Release/github_client-${{github.ref_name}}-windows.zip
86+
files: build/windows/runner/Release/github_client-${{github.head_ref}}-windows.zip
8787

8888
macos:
8989
name: MacOS build and release
@@ -106,12 +106,12 @@ jobs:
106106
uses: thedoctor0/zip-release@master
107107
with:
108108
type: 'zip'
109-
filename: github_client-${{github.ref_name}}-macos.zip
109+
filename: github_client-${{github.head_ref}}-macos.zip
110110
directory: build/macos/Build/Products/Release
111111
- name: Release to github
112112
uses: softprops/action-gh-release@v1
113113
env:
114114
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
115115
with:
116116
tag_name: ${{github.head_ref}}
117-
files: build/macos/Build/Products/Release/github_client-${{github.ref_name}}-macos.zip
117+
files: build/macos/Build/Products/Release/github_client-${{github.head_ref}}-macos.zip

0 commit comments

Comments
 (0)