Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
doregg committed Mar 20, 2024
1 parent 56f80cf commit 94ff649
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions .github/workflows/trigger-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,21 @@ jobs:
run: |
echo "Received test request for @frontegg/angular@${{ inputs.version }}"
echo "From: ${{ inputs.sha }}"
- name: "Test version ${{ inputs.version }} with SHA ${{ inputs.sha || 'default sha' }}"
run: |
echo "Testing version ${{ inputs.version }} with SHA ${{ inputs.sha }}"
- name: Another test
run: |
cd projects/${{ (inputs.sha == undefined || inputs.sha == '1') ? 'example' : 'frontegg-app' }}
ls -la
shell: bash

- name: "Call trigger-e2e-test action"
uses: ./.github/actions/trigger-e2e-test
with:
version: ${{ inputs.version }}
sha: ${{ inputs.sha }}
bot_app_id: ${{ secrets.GH_FRONTEGG_BOT_APP_ID }}
bot_app_key: ${{ secrets.GH_FRONTEGG_BOT_APP_SECRET }}
# - name: "Call trigger-e2e-test action"
# uses: ./.github/actions/trigger-e2e-test
# with:
# version: ${{ inputs.version }}
# sha: ${{ inputs.sha }}
# bot_app_id: ${{ secrets.GH_FRONTEGG_BOT_APP_ID }}
# bot_app_key: ${{ secrets.GH_FRONTEGG_BOT_APP_SECRET }}

0 comments on commit 94ff649

Please sign in to comment.