Bump Microsoft.Extensions.DependencyInjection from 8.0.1 to 9.0.1 #434
Workflow file for this run
This file contains 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: Continuous integration | |
on: | |
push: | |
paths-ignore: | |
- '**.md' | |
jobs: | |
build: | |
name: Build and Test | |
uses: ./.github/workflows/build.yml | |
with: | |
createArtifact: ${{ startsWith(github.ref, 'refs/tags/') }} | |
release: | |
name: Create Release | |
needs: build | |
if: startsWith(github.ref, 'refs/tags/') | |
runs-on: ubuntu-latest | |
env: | |
INSTALLER_DIR: installer | |
RELEASE_NOTES_FILENAME: ReleaseNotes.md | |
steps: | |
- name: Download artifact | |
uses: actions/download-artifact@v4 | |
with: | |
name: installer | |
path: ${{ env.INSTALLER_DIR }} | |
# Use markdown to create base release notes file with hashes of all | |
# downloadable files. This file will be used to create the GitHub | |
# release notes. | |
- name: Create release notes file | |
shell: pwsh | |
run: | | |
$destFile = Join-Path -Path "${{ env.INSTALLER_DIR }}" -ChildPath "${{ env.RELEASE_NOTES_FILENAME }}" | |
$checksums = Get-ChildItem -Path "${{ env.INSTALLER_DIR }}" -File | |
| Sort-Object -Property Name | |
| ForEach-Object { "| $($_.Name) | ``$((Get-FileHash $_.FullName -Algorithm SHA256).Hash)`` |" } | |
| Out-String | |
"| File | SHA256 |" | Out-File -FilePath $destFile | |
"| ---- | ------ |" | Out-File -FilePath $destFile -Append | |
$checksums | Out-File -FilePath $destFile -Append | |
- name: Create GitHub release | |
uses: softprops/action-gh-release@v2 | |
with: | |
files: ${{ env.INSTALLER_DIR }}/*.exe | |
name: TeamsStatusPub ${{ github.ref_name }} | |
body_path: ${{ env.INSTALLER_DIR }}/${{ env.RELEASE_NOTES_FILENAME }} | |