Skip to content

Commit

Permalink
build script update
Browse files Browse the repository at this point in the history
  • Loading branch information
ChunkLightTuna authored Feb 2, 2024
1 parent 3c1cc81 commit 2a38366
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -28,11 +30,6 @@ jobs:
uses: cschleiden/[email protected]
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
Expand Down

0 comments on commit 2a38366

Please sign in to comment.