Skip to content

Commit

Permalink
feat: action add upload artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
BenderBlog committed Mar 13, 2024
1 parent 0235e9a commit 09acc97
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release_for_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ jobs:
- name: Package Executable
run: 7z a -r "../../../../../build/app/watermeter-linux-release-amd64.zip" *
working-directory: build/linux/x64/release/bundle

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: Watermeter_Linux
path: build/app/watermeter-linux-release-amd64.zip


- name: Release
uses: softprops/action-gh-release@v1
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release_for_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ jobs:
- name: Package Executable
run: 7z a -r -sse "..\..\..\..\..\build\app\watermeter-windows-release-amd64.zip" *
working-directory: build\windows\x64\runner\Release

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: Watermeter_Windows
path: build/app/watermeter-windows-release-amd64.zip

- name: Release
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit 09acc97

Please sign in to comment.