From 92fe5100751039cbc2eee57f59d5114362e9db96 Mon Sep 17 00:00:00 2001 From: b3hr4d Date: Sun, 25 Feb 2024 10:19:01 +0300 Subject: [PATCH] Update deploy-test.yml workflow*** This commit updates the deploy-test.yml workflow file. It includes changes such as adding a step to checkout the repository, renaming steps for clarity, and updating the release action with the correct asset name and file path. --- .github/workflows/deploy-test.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy-test.yml b/.github/workflows/deploy-test.yml index 57a03254c8..8aac9f020a 100644 --- a/.github/workflows/deploy-test.yml +++ b/.github/workflows/deploy-test.yml @@ -5,11 +5,15 @@ on: push: tags: - "v*" + jobs: build-and-release: runs-on: ubuntu-latest + steps: - - uses: actions/checkout@v2 + - name: Checkout Repository + uses: actions/checkout@v2 + - name: Setup Node.js uses: actions/setup-node@v2 with: @@ -19,13 +23,13 @@ jobs: - name: Install Yarn run: npm install -g yarn - - name: Install dependencies + - name: Install Dependencies run: yarn install - name: Build run: yarn build - - name: Get version from package + - name: Get Version from Package id: package_version run: echo "::set-output name=VERSION::$(jq -r '.version' ./packages/core/package.json)" shell: bash @@ -33,12 +37,11 @@ jobs: - name: List Files in Directory run: ls -la ./packages/core/umd/production/ - - uses: actions/checkout@v3 - - name: Release file + - name: Release File uses: djnicholson/release-action@v2.10 with: token: ${{ secrets.RELEASE_TOKEN }} - release-name: Core Bundle ${{ steps.package_version.outputs.VERSION }} - tag-name: v${{ steps.package_version.outputs.VERSION }} + release-name: "Core Bundle ${{ steps.package_version.outputs.VERSION }}" + tag-name: "v${{ steps.package_version.outputs.VERSION }}" asset-name: "ic-reactor-core.min.js" file: "./packages/core/umd/production/ic-reactor-core.min.js"