Skip to content

Commit 4b30e20

Browse files
authored
Merge pull request #84 from NfNitLoop/scroll-keep
Update release to include Windows artifacts.
2 parents ce2a1bd + 5e65359 commit 4b30e20

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ jobs:
7272
working-directory: ${{ steps.download.outputs.download-path}}/FeoBlog-ubuntu-18.04
7373
run: zip -9 release.zip feoblog
7474

75-
# TODO: Windows, once that's fixed.
75+
- name: Create Windows artifact
76+
working-directory: ${{ steps.download.outputs.download-path}}/FeoBlog-windows-latest
77+
run: zip -9 release.zip feoblog.exe
7678

7779
# github.ref gives us something like refs/tags/v1.2.3, but we just want v1.2.3
7880
- name: Get tag name
@@ -116,4 +118,14 @@ jobs:
116118
asset_path: ${{ steps.download.outputs.download-path}}/FeoBlog-ubuntu-18.04/release.zip
117119
asset_name: feoblog-linux-${{ steps.tag-name.outputs.result }}.zip
118120
asset_content_type: application/zip
121+
122+
- name: Attach Windows Release
123+
uses: actions/upload-release-asset@v1
124+
env:
125+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
126+
with:
127+
upload_url: ${{ steps.release.outputs.upload_url }}
128+
asset_path: ${{ steps.download.outputs.download-path}}/FeoBlog-windows-latest/release.zip
129+
asset_name: feoblog-windows-${{ steps.tag-name.outputs.result }}.zip
130+
asset_content_type: application/zip
119131

0 commit comments

Comments
 (0)