chore: release 1.3.1 (#91) #27
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
# This workflow uses actions that are not certified by GitHub. | |
# They are provided by a third-party and are governed by | |
# separate terms of service, privacy policy, and support | |
# documentation. | |
name: Deno Continuous Deployment | |
on: | |
push: | |
paths: | |
- 'src/version.ts' | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup repo | |
uses: actions/checkout@v4 | |
- name: Setup Deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.x | |
- name: Extract Tag Name from version.ts | |
id: save_version | |
run: | | |
echo "TAG_NAME=$(deno run -q --allow-read src/version.ts)" >> $GITHUB_ENV | |
echo "We will now create the ${{ env.TAG_NAME }} tag." | |
- name: Create and push git tag | |
uses: rickstaa/action-create-tag@v1 | |
with: | |
tag: "${{ env.TAG_NAME }}" | |
- name: Create GitHub Release | |
uses: ncipollo/release-action@v1 | |
with: | |
tag: "${{ env.TAG_NAME }}" | |
name: "${{ env.TAG_NAME }}" | |
generateReleaseNotes: true | |
prerelease: true |