Skip to content

Commit

Permalink
ci: Clean up release workflow (#387)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrezza authored May 24, 2024
1 parent 86efe37 commit 0ee20f8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 21 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/release-automated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,13 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.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
- name: Install Node dependencies
run: npm ci
- name: Release
- name: Build and publish release
run: npx semantic-release
env:
GH_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
Expand Down
14 changes: 0 additions & 14 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,20 +90,6 @@ async function config() {
}
]
}],
// ["@semantic-release/exec", {
// 'verifyConditionsCmd': 'find / -name "Parse.dll" 2>/dev/null',
// 'prepareCmd': 'find / -name "Parse.dll" 2>/dev/null',
// 'publishCmd': 'find / -name "Parse.dll" 2>/dev/null',
// 'successCmd': 'find / -name "Parse.dll" 2>/dev/null',
// 'failCmd': 'find / -name "Parse.dll" 2>/dev/null',
// }],
// ["@semantic-release/exec", {
// 'verifyConditionsCmd': 'ls -la /home/runner/work/Parse-SDK-dotNET/Parse-SDK-dotNET/Parse/bin 2>/dev/null',
// 'prepareCmd': 'ls -la /home/runner/work/Parse-SDK-dotNET/Parse-SDK-dotNET/Parse/bin 2>/dev/null',
// 'publishCmd': 'ls -la /home/runner/work/Parse-SDK-dotNET/Parse-SDK-dotNET/Parse/bin 2>/dev/null',
// 'successCmd': 'ls -la /home/runner/work/Parse-SDK-dotNET/Parse-SDK-dotNET/Parse/bin 2>/dev/null',
// 'failCmd': 'ls -la /home/runner/work/Parse-SDK-dotNET/Parse-SDK-dotNET/Parse/bin 2>/dev/null',
// }],
// Build the DLL file after the version has been updated
["@semantic-release/exec", {
'prepareCmd': 'dotnet build ./Parse/Parse.csproj -c Release',
Expand Down

0 comments on commit 0ee20f8

Please sign in to comment.