Use ArtifactsPivots instead #3
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Update pre-built libraries | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - feature/slnx2 | |
| jobs: | |
| build-vs-solution-persistence: | |
| name: Build and Update SlnMerge.M.V.SolutionPersistence | |
| permissions: | |
| contents: write | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: Cysharp/Actions/.github/actions/checkout@main | |
| with: | |
| submodules: true | |
| - uses: Cysharp/Actions/.github/actions/setup-dotnet@main | |
| - name: Run dotnet publish | |
| run: | | |
| dotnet publish | |
| cp -f artifacts/publish/SlnMerge.Microsoft.VisualStudio.SolutionPersistence/release/SlnMerge.Microsoft.VisualStudio.SolutionPersistence.dll src/Editor/ | |
| - name: Commit and push | |
| run: | | |
| git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
| git config --local user.name "github-actions[bot]" | |
| git commit -m "Update pre-built libraries" src/Editor/**/*.dll | |
| git push origin ${{ github.ref_name }} |