0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-30 20:33:54 -05:00

ci: add spaces

This commit is contained in:
Gao Sun 2024-06-29 14:51:52 +08:00
parent 9dfcecb565
commit e7cc05bf9c
No known key found for this signature in database
GPG key ID: 13EBE123E4773688

View file

@ -28,7 +28,7 @@ jobs:
id: changes-detection id: changes-detection
run: | run: |
if [[ "${{ github.event_name }}" == "pull_request" ]]; then if [[ "${{ github.event_name }}" == "pull_request" ]]; then
BASE=$(git merge-base origin/${{github.base_ref}} HEAD) BASE=$(git merge-base origin/${{ github.base_ref }} HEAD)
else else
BASE=${{ github.event.before }} BASE=${{ github.event.before }}
fi fi
@ -47,7 +47,7 @@ jobs:
package: package:
needs: check-alteration-changes needs: check-alteration-changes
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: ${{needs.check-alteration-changes.outputs.has-alteration-changes == 'true'}} if: ${{ needs.check-alteration-changes.outputs.has-alteration-changes == 'true' }}
env: env:
INTEGRATION_TEST: true INTEGRATION_TEST: true
DEV_FEATURES_ENABLED: false DEV_FEATURES_ENABLED: false
@ -55,7 +55,7 @@ jobs:
- uses: logto-io/actions-package-logto-artifact@v2 - uses: logto-io/actions-package-logto-artifact@v2
with: with:
artifact-name: alteration-integration-test-${{ github.sha }} artifact-name: alteration-integration-test-${{ github.sha }}
branch: ${{github.base_ref}} branch: ${{ github.base_ref }}
pnpm-version: 9 pnpm-version: 9
run-logto: run-logto:
@ -73,8 +73,8 @@ jobs:
steps: steps:
- uses: logto-io/actions-run-logto-integration-tests@v3 - uses: logto-io/actions-run-logto-integration-tests@v3
with: with:
branch: ${{github.base_ref}} branch: ${{ github.base_ref }}
logto-artifact: alteration-integration-test-${{ github.sha }} logto-artifact: alteration-integration-test-${{ github.sha }}
test-target: ${{ matrix.target }} test-target: ${{ matrix.target }}
db-alteration-target: ${{github.head_ref}} db-alteration-target: ${{ github.head_ref }}
pnpm-version: 9 pnpm-version: 9