Skip to content
This repository was archived by the owner on Dec 14, 2023. It is now read-only.

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
charlie-haley authored Apr 19, 2021
1 parent e21999e commit 72788fc
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,6 @@ jobs:
run: GO111MODULE=on go get -u github.com/wailsapp/wails/cmd/wails
- name: Update to prerelease
run: wails update -pre
# Setup dotnet
- uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
- name: Build flowcontrol-monitor
working-directory: ./src/flowcontrol-monitor
run: dotnet publish -r win-x64 -c Release /p:PublishSingleFile=true --self-contained True
- name: Copy compiled files
run: cp -r ./src/flowcontrol-monitor/bin/Release/net5.0/win-x64/publish/ ./src/flowcontrol/build
# Compile wails app
- name: Build project
if: ${{ !env.ACT }}
Expand All @@ -54,6 +45,16 @@ jobs:
run: |
cd ./src/flowcontrol
wails build
# Setup dotnet
- uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
- name: Build flowcontrol-monitor
working-directory: ./src/flowcontrol-monitor
run: dotnet publish -r win-x64 -c Release /p:PublishSingleFile=true --self-contained True
- name: Copy compiled files
run: cp -r ./src/flowcontrol-monitor/bin/Release/net5.0/win-x64/publish/ ./src/flowcontrol/build
#Zip assets
- name: Zip assets
run: |
zip -rj flowcontrol.zip ./src/flowcontrol/build
Expand Down

0 comments on commit 72788fc

Please sign in to comment.