Skip to content

ci: Clean up release workflow #387

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading