Skip to content

Commit

Permalink
Merge pull request #65 from MUzairS15/MUzairS15/fix
Browse files Browse the repository at this point in the history
fix failing service
  • Loading branch information
MUzairS15 authored Dec 4, 2023
2 parents b8da1b9 + 0258b1f commit 7f610af
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,21 +78,21 @@ runs:
- run: |
AppId=$(MESHERY_SERVER_BASE_URL="https://playground.meshery.io" UPLOAD_TYPE="${{inputs.application_type}}" PROVIDER_TOKEN=${{ inputs.providerToken }} ./action/uploadApplicationFile.sh)
echo $AppId
echo "DESIGN_ID=$AppId" >> $GITHUB_ENV
echo "APPLICATION_ID=$AppId" >> $GITHUB_ENV
if: ${{ !inputs.application_url && !inputs.skipComment }}
shell: bash
- run: |
AppId=$(MESHERY_SERVER_BASE_URL="https://playground.meshery.io" UPLOAD_TYPE="${{inputs.application_type}}" PROVIDER_TOKEN=${{ inputs.providerToken }} UPLOAD_URL=${{ inputs.application_url }} ./action/uploadApplicationUrl.sh)
echo $AppId
echo "DESIGN_ID=$AppId" >> $GITHUB_ENV
echo "APPLICATION_ID=$AppId" >> $GITHUB_ENV
if: ${{ inputs.application_url && !inputs.skipComment }}
shell: bash
- run: |
echo ${{ inputs.designID }}
echo "DESIGN_ID=${{ inputs.designID }}" >> $GITHUB_ENV
echo "APPLICATION_ID=${{ inputs.designID }}" >> $GITHUB_ENV
if: ${{ inputs.skipComment }}
shell: bash
- run: echo $DESIGN_ID && echo ${{env.DESIGN_ID}}
- run: echo $APPLICATION_ID && echo ${{env.APPLICATION_ID}}
shell: bash
- name: Cypress run
uses: cypress-io/github-action@v4
Expand All @@ -105,7 +105,7 @@ runs:
GITHUB_TOKEN: ${{ inputs.githubToken }}
CYPRESS_token: ${{ inputs.providerToken }}
CYPRESS_releasetag: ${{env.tag}}
CYPRESS_applicationId: ${{ env.DESIGN_ID }}
CYPRESS_applicationId: ${{ env.APPLICATION_ID }}
# CYPRESS_RECORD_KEY: ${{ inputs.cypressRecordKey }}
- run: ls
shell: bash
Expand Down Expand Up @@ -157,5 +157,5 @@ runs:
repository: ${{github.repository}}
number: ${{ inputs.prNumber }}
id: meshmap-snapshot
message: '[<img src="${{env.RESOURCE_URL}}">](https://meshery.layer5.io/catalog/${{ env.DESIGN_ID }})'
append: false
message: '[<img src="${{env.RESOURCE_URL}}">](https://meshery.layer5.io/catalog/${{ env.APPLICATION_ID }})'
append: false

0 comments on commit 7f610af

Please sign in to comment.