Skip to content

Commit 0688862

Browse files
committed
Fix Dist path
1 parent 86237e2 commit 0688862

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,43 +12,43 @@ env:
1212
jobs:
1313
win:
1414
runs-on: ubuntu-latest
15-
name: build
15+
name: build win
1616
steps:
1717
- uses: actions/checkout@v2
1818
- name: setup .Net Core
1919
uses: actions/setup-dotnet@v1
2020
with:
2121
dotnet-version: ${{ env.dotnet }}
2222
- name: publish
23-
run: dotnet publish HardHat/HardHat.csproj -o "${{ env.workspace }}/Dist/win/" -c release -r win10-x64
23+
run: dotnet publish HardHat/HardHat.csproj -o "${{ env.workspace }}/Dist/" -c release -r win10-x64
2424
- name: branch
2525
uses: s0/git-publish-subdir-action@master
2626
env:
2727
REPO: self
2828
BRANCH: win
29-
FOLDER: ${{ env.workspace }}/Dist/win
29+
FOLDER: ${{ env.workspace }}/Dist
3030
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3131
mac:
3232
runs-on: ubuntu-latest
33-
name: build
33+
name: build mac
3434
steps:
3535
- uses: actions/checkout@v2
3636
- name: setup .Net Core
3737
uses: actions/setup-dotnet@v1
3838
with:
3939
dotnet-version: ${{ env.dotnet }}
4040
- name: publish
41-
run: dotnet publish HardHat/HardHat.csproj -o "${{ env.workspace }}/Dist/mac/" -c release -r osx.10.12-x64
41+
run: dotnet publish HardHat/HardHat.csproj -o "${{ env.workspace }}/Dist/" -c release -r osx.10.12-x64
4242
- name: branch
4343
uses: s0/git-publish-subdir-action@master
4444
env:
4545
REPO: self
4646
BRANCH: mac
47-
FOLDER: ${{ env.workspace }}/Dist/mac
47+
FOLDER: ${{ env.workspace }}/Dist
4848
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4949
tweet:
5050
runs-on: ubuntu-latest
51-
name: message
51+
name: tweet
5252
needs: [win, mac]
5353
steps:
5454
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)