From 249d500d8347ab8a8fe0ceed5b5d1df54d2e0715 Mon Sep 17 00:00:00 2001 From: Lazaros Toumanidis Date: Wed, 23 Oct 2024 15:16:23 +0300 Subject: [PATCH] update gh actions --- .github/workflows/release.yaml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 86cc916f..7f47a084 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -16,12 +16,7 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Setup bun - uses: oven-sh/setup-bun@v2 - - name: Install dependencies - run: bun install - - name: Build - run: bun build:lib + release: runs-on: ubuntu-latest needs: build @@ -30,6 +25,10 @@ jobs: uses: actions/checkout@v4 - name: Setup bun uses: oven-sh/setup-bun@v2 + - name: Install dependencies + run: bun install + - name: Build + run: bun build:lib - name: Read changelog id: changelog run: echo "::set-output name=changelog::$(bun changelog)" @@ -38,7 +37,7 @@ jobs: if: steps.changelog.outputs.changelog != '' uses: actions/create-release@latest env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ github.ref }} release_name: Release ${{ github.ref }}