sync with local work (not all csj2k) #12
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: msbuild | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| paths: | |
| - '**.cs' | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| if: github.repository == 'UbitUmarov/libopenmetaverse' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: readshortsha | |
| id: vars | |
| run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" | |
| - name: preBuild | |
| run: bash ${GITHUB_WORKSPACE}/runprebuild.sh | |
| - name: Build | |
| id: build | |
| run: dotnet build --configuration Release OpenMetaverse.sln | |
| - name: release | |
| if: success() | |
| run: zip -r LastBuild.zip bin LICENSE.txt | |
| - uses: softprops/action-gh-release@v1 | |
| if: success() | |
| with: | |
| tag_name: r${{ steps.vars.outputs.sha_short }} | |
| name: LastAutoBuild | |
| files: LastBuild.zip | |
| - name: report push to irc | |
| if: github.event_name == 'push' | |
| uses: rectalogic/notify-irc@v1 | |
| with: | |
| channel: "#opensim-dev" | |
| server: "irc.libera.chat" | |
| nickname: osgithubomv | |
| message: | | |
| ${{ github.actor }} pushed to ${{ github.repository }} | |
| ${{ join(github.event.commits.*.message, '\n') }} | |
| mono compile: ${{ steps.build.conclusion }} | |
| - name: report manual irc | |
| if: github.event_name == 'workflow_dispatch' | |
| uses: rectalogic/notify-irc@v1 | |
| with: | |
| channel: "#opensim-dev" | |
| server: "irc.libera.chat" | |
| nickname: osgithub | |
| message: | | |
| ${{ github.repository }} | |
| dotnet compile: ${{ steps.build.conclusion }} |