Skip to content

Commit 4989673

Browse files
authored
ci: Fix auto-release workflow (#379)
1 parent f1a6038 commit 4989673

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

.github/workflows/release-automated.yml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,28 @@ jobs:
88
outputs:
99
current_tag: ${{ steps.tag.outputs.current_tag }}
1010
steps:
11-
- uses: actions/checkout@v2
11+
- name: Checkout
12+
uses: actions/checkout@v2
1213
with:
1314
persist-credentials: false
14-
- uses: actions/setup-node@v2
15+
- name: Set up .NET
16+
uses: actions/setup-dotnet@v1
17+
with:
18+
dotnet-version: '5.0.x'
19+
- name: Restore .NET dependencies
20+
run: dotnet restore /home/runner/work/Parse-SDK-dotNET/Parse-SDK-dotNET/Parse/Parse.csproj
21+
- name: Build .NET project
22+
run: dotnet build /home/runner/work/Parse-SDK-dotNET/Parse-SDK-dotNET/Parse/Parse.csproj -c Release
23+
- name: List output directory contents
24+
run: ls -la /home/runner/work/Parse-SDK-dotNET/Parse-SDK-dotNET/Parse/bin/Release/netstandard2.0
25+
- name: Set up Node.js
26+
uses: actions/setup-node@v2
1527
with:
1628
node-version: 18
17-
- run: npm ci
18-
- run: npx semantic-release
29+
- name: Install Node dependencies
30+
run: npm ci
31+
- name: Release
32+
run: npx semantic-release
1933
env:
2034
GH_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
2135
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)