Bump softprops/action-gh-release from 3.0.0 to 3.0.1 #27
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: "CI" | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| concurrency: | |
| group: "build-${{ github.head_ref || github.run_id }}-${{ github.event_name }}" | |
| cancel-in-progress: true | |
| # UPDATE VERSIONS HERE AND IN WorldOrbDynVars.cs. DON'T FORGET RELEASE NOTES! | |
| env: | |
| WORLDORBDYNVARS_VERSION: '1.0.2' | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Setup dotnet | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: '10.0.x' | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Build | |
| run: dotnet build -c Release | |
| deploy: | |
| name: Deploy | |
| runs-on: ubuntu-latest | |
| needs: build | |
| if: contains(github.event.head_commit.message, '[Deploy]') && github.event_name == 'push' | |
| permissions: | |
| id-token: write | |
| attestations: write | |
| artifact-metadata: write | |
| contents: write | |
| steps: | |
| - name: Setup dotnet | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: '10.0.x' | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Publish | |
| run: dotnet publish -o publish /nowarn:NETSDK1194 | |
| - name: Attest | |
| uses: actions/attest@v4 | |
| with: | |
| subject-path: 'publish/WorldOrbDynVars.dll' | |
| - name: Create GitHub Release | |
| uses: softprops/action-gh-release@718ea10b132b3b2eba29c1007bb80653f286566b | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| tag_name: v${{ env.WORLDORBDYNVARS_VERSION }} | |
| name: WorldOrbDynVars v${{ env.WORLDORBDYNVARS_VERSION }} | |
| files: | | |
| ./publish/WorldOrbDynVars.dll | |
| body_path: RELEASE_NOTES.md | |
| target_commitish: ${{ github.event.head_commit.id }} | |
| make_latest: true |