From 2a383664ec75cc817d96ae1933b14c59f938a004 Mon Sep 17 00:00:00 2001 From: Chris Oelerich Date: Fri, 2 Feb 2024 01:15:51 -0600 Subject: [PATCH] build script update --- .github/workflows/main.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 22a8421..e2314f4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,8 +1,10 @@ name: Create Module Files For GitHub Release env: - PROJECT_URL: "https://github.com/${{ github.repository }}" - LATEST_MANIFEST_URL: "https://github.com/${{ github.repository }}/releases/latest/download/module.json" - RELEASE_MODULE_URL: "https://github.com/${{ github.repository }}/releases/download/${{ github.event.release.tag_name || github.ref_name }}/module.zip" + URL: "https://github.com/${{ github.repository }}" + MANIFEST: "https://github.com/${{ github.repository }}/releases/latest/download/module.json" + VERSION: "${{ github.event.release.tag_name || github.ref_name }}" + DOWNLOAD: "https://github.com/${{ github.repository }}/releases/download/${{ github.event.release.tag_name || github.ref_name }}/module.zip" + on: release: @@ -28,11 +30,6 @@ jobs: uses: cschleiden/replace-tokens@v1.2 with: files: 'module.json' - env: - VERSION: ${{ github.event.release.tag_name }} - URL: ${{ env.PROJECT_URL }} - MANIFEST: ${{ env.LATEST_MANIFEST_URL }} - DOWNLOAD: ${{ env.RELEASE_MODULE_URL }} - name: Downloading Dependencies run: npm install --omit=dev