Revert js bundle rename in workflows

This commit is contained in:
Reckless_Satoshi 2022-10-22 07:43:32 -07:00
parent a4a3dbb95e
commit 8633c5abb9
No known key found for this signature in database
GPG Key ID: 9C4585B561315571
3 changed files with 12 additions and 12 deletions

View File

@ -26,20 +26,20 @@ jobs:
rm nodeapp/static rm nodeapp/static
cp -r frontend/static nodeapp/static cp -r frontend/static nodeapp/static
- name: 'Download basic.js Artifact' - name: 'Download main.js Artifact'
if: inputs.semver == '' # Only if workflow fired from frontend-build.yml if: inputs.semver == '' # Only if workflow fired from frontend-build.yml
uses: dawidd6/action-download-artifact@v2 uses: dawidd6/action-download-artifact@v2
with: with:
workflow: frontend-build.yml workflow: frontend-build.yml
workflow_conclusion: success workflow_conclusion: success
name: web-basic-js name: web-main-js
path: nodeapp/static/frontend/ path: nodeapp/static/frontend/
- name: 'Download basic.js Artifact for a release' - name: 'Download main.js Artifact for a release'
if: inputs.semver != '' # Only if fired as job in release.yml if: inputs.semver != '' # Only if fired as job in release.yml
uses: actions/download-artifact@v3 uses: actions/download-artifact@v3
with: with:
name: web-basic-js name: web-main-js
path: nodeapp/static/frontend/ path: nodeapp/static/frontend/
- name: 'Download pro.js Artifact' - name: 'Download pro.js Artifact'

View File

@ -15,20 +15,20 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: 'Download basic.js Artifact' - name: 'Download Basic main.js Artifact'
if: inputs.semver == '' # Only if workflow fired from frontend-build.yml if: inputs.semver == '' # Only if workflow fired from frontend-build.yml
uses: dawidd6/action-download-artifact@v2 uses: dawidd6/action-download-artifact@v2
with: with:
workflow: frontend-build.yml workflow: frontend-build.yml
workflow_conclusion: success workflow_conclusion: success
name: web-basic-js name: web-main-js
path: nodeapp/static/frontend/ path: nodeapp/static/frontend/
- name: 'Download basic.js Artifact for a release' - name: 'Download Basic main.js Artifact for a release'
if: inputs.semver != '' # Only if fired as job in release.yml if: inputs.semver != '' # Only if fired as job in release.yml
uses: actions/download-artifact@v3 uses: actions/download-artifact@v3
with: with:
name: web-basic-js name: web-main-js
path: nodeapp/static/frontend/ path: nodeapp/static/frontend/
- name: 'Download pro.js Artifact' - name: 'Download pro.js Artifact'

View File

@ -51,8 +51,8 @@ jobs:
- name: 'Archive Web Basic Build Results' - name: 'Archive Web Basic Build Results'
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: web-basic-js name: web-main-js
path: frontend/static/frontend/basic.js path: frontend/static/frontend/main.js
- name: 'Archive Web PRO Build Results' - name: 'Archive Web PRO Build Results'
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
@ -70,11 +70,11 @@ jobs:
if: inputs.semver == '' if: inputs.semver == ''
uses: benc-uk/workflow-dispatch@v1 uses: benc-uk/workflow-dispatch@v1
with: with:
workflow: 'Coodinator Image CI' workflow: 'Docker: Coordinator'
token: ${{ secrets.PERSONAL_TOKEN }} token: ${{ secrets.PERSONAL_TOKEN }}
- name: 'Invoke Client App Build CI/CD workflow' - name: 'Invoke Client App Build CI/CD workflow'
if: inputs.semver == '' if: inputs.semver == ''
uses: benc-uk/workflow-dispatch@v1 uses: benc-uk/workflow-dispatch@v1
with: with:
workflow: 'Client App Image CI/CD' workflow: 'Docker: Client'
token: ${{ secrets.PERSONAL_TOKEN }} token: ${{ secrets.PERSONAL_TOKEN }}