From 9c1b9320be8a4ba2aade04f349f65720742ef58d Mon Sep 17 00:00:00 2001 From: Levende Date: Sat, 25 May 2024 18:05:51 +0200 Subject: [PATCH] Dev (#36) * fit: fix github workflow * fit: fix github workflow --- .changeset/old-jobs-add.md | 5 +++++ .changeset/pink-baboons-fly.md | 5 +++++ .github/workflows/release.yml | 11 +++++++++++ 3 files changed, 21 insertions(+) create mode 100644 .changeset/old-jobs-add.md create mode 100644 .changeset/pink-baboons-fly.md diff --git a/.changeset/old-jobs-add.md b/.changeset/old-jobs-add.md new file mode 100644 index 0000000..206ee51 --- /dev/null +++ b/.changeset/old-jobs-add.md @@ -0,0 +1,5 @@ +--- +"unused-i18n": patch +--- + +Create GitHub Release diff --git a/.changeset/pink-baboons-fly.md b/.changeset/pink-baboons-fly.md new file mode 100644 index 0000000..ae41c50 --- /dev/null +++ b/.changeset/pink-baboons-fly.md @@ -0,0 +1,5 @@ +--- +"unused-i18n": patch +--- + +fix github workflow diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bd874d8..f5c30ea 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,6 +25,7 @@ jobs: - uses: pnpm/action-setup@v4.0.0 with: version: 9.1.1 + - name: Use Node.js uses: actions/setup-node@v4 with: @@ -55,3 +56,13 @@ jobs: git push --follow-tags origin main env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Create GitHub Release + uses: softprops/action-gh-release@v1 + with: + tag_name: ${{ github.ref }} + files: | + dist/** + CHANGELOG.md + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}