chore(deps): update actions/upload-artifact action to v4.4.3 (#105) #91
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: Release | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
permissions: {} | |
jobs: | |
release-please: | |
uses: ./.github/workflows/release-please.yaml | |
secrets: inherit | |
permissions: | |
contents: write | |
pull-requests: write | |
tag-major-minor: | |
runs-on: ubuntu-latest | |
needs: release-please | |
permissions: | |
contents: write | |
if: ${{ needs.release-please.outputs.release_created }} | |
steps: | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- run: | | |
git config user.name github-actions[bot] | |
git config user.email 41898282+github-actions[bot]@users.noreply.github.com | |
git tag --delete v${{ needs.release-please.outputs.major }} || true | |
git tag --delete v${{ needs.release-please.outputs.major }}.${{ needs.release-please.outputs.minor }} || true | |
git push --delete origin v${{ needs.release-please.outputs.major }} || true | |
git push --delete origin v${{ needs.release-please.outputs.major }}.${{ needs.release-please.outputs.minor }} || true | |
git tag -a v${{ needs.release-please.outputs.major }} -m "Release v${{ needs.release-please.outputs.major }}" | |
git tag -a v${{ needs.release-please.outputs.major }}.${{ needs.release-please.outputs.minor }} -m "Release v${{ needs.release-please.outputs.major }}.${{ needs.release-please.outputs.minor }}" | |
git push origin v${{ needs.release-please.outputs.major }} | |
git push origin v${{ needs.release-please.outputs.major }}.${{ needs.release-please.outputs.minor }} |