chore(deps): update dockurr/windows docker tag to v4.07 (#1101) #2685
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 | |
permissions: | |
contents: write | |
issues: write | |
pull-requests: write | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 'lts/*' | |
- name: Install dependencies | |
run: npm install | |
- name: Tag Creation | |
id: semantic_release | |
run: | | |
output=$(npx semantic-release 2>&1) | |
echo "$output" | |
tag=$(echo "$output" | grep 'Created tag' | sed -E 's/.*Created tag ([^ ]+).*/\1/') | |
echo "::set-output name=tag::$tag" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Generate a changelog | |
uses: orhun/git-cliff-action@v4 | |
id: git-cliff | |
with: | |
config: cliff.toml | |
args: -vv --latest --strip header | |
env: | |
OUTPUT: CHANGELOG.md | |
- name: Release | |
uses: softprops/action-gh-release@v2 | |
with: | |
tag_name: ${{ steps.semantic_release.outputs.tag }} | |
name: ${{ steps.semantic_release.outputs.tag }} | |
body: ${{ steps.git-cliff.outputs.content }} | |
token: ${{ secrets.GITHUB_TOKEN }} |