Skip to content

Commit

Permalink
ci: Fix auto-release workflow (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrezza authored May 23, 2024
1 parent f1a6038 commit 4989673
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions .github/workflows/release-automated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,28 @@ jobs:
outputs:
current_tag: ${{ steps.tag.outputs.current_tag }}
steps:
- uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- uses: actions/setup-node@v2
- name: Set up .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'
- name: Restore .NET dependencies
run: dotnet restore /home/runner/work/Parse-SDK-dotNET/Parse-SDK-dotNET/Parse/Parse.csproj
- name: Build .NET project
run: dotnet build /home/runner/work/Parse-SDK-dotNET/Parse-SDK-dotNET/Parse/Parse.csproj -c Release
- name: List output directory contents
run: ls -la /home/runner/work/Parse-SDK-dotNET/Parse-SDK-dotNET/Parse/bin/Release/netstandard2.0
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 18
- run: npm ci
- run: npx semantic-release
- name: Install Node dependencies
run: npm ci
- name: Release
run: npx semantic-release
env:
GH_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 4989673

Please # to comment.