mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-24 01:51:57 +03:00
Fix CI composite action output values
This commit is contained in:
parent
65ef3522ab
commit
b14f2ddde9
15
.github/actions/init-env/action.yaml
vendored
15
.github/actions/init-env/action.yaml
vendored
@ -5,6 +5,13 @@ inputs:
|
||||
description: |
|
||||
Filter by project type, must be named filter from step `changes`
|
||||
default: 'all'
|
||||
outputs:
|
||||
frontend:
|
||||
description: "Change affects front end"
|
||||
value: ${{ steps.frontend.outputs.value }}
|
||||
backend:
|
||||
description: "Change affects back end"
|
||||
value: ${{ steps.backend.outputs.value }}
|
||||
runs:
|
||||
using: 'composite'
|
||||
steps:
|
||||
@ -24,6 +31,14 @@ runs:
|
||||
- '.npmrc'
|
||||
- '.env.*'
|
||||
|
||||
- id: frontend
|
||||
run: echo "value=${{ steps.changes.outputs.frontend}}" >> $GITHUB_OUTPUT
|
||||
shell: bash
|
||||
|
||||
- id: backend
|
||||
run: echo "value=${{ steps.changes.outputs.backend}}" >> $GITHUB_OUTPUT
|
||||
shell: bash
|
||||
|
||||
- uses: pnpm/action-setup@v2
|
||||
name: Install pnpm
|
||||
if: ${{ inputs.runs-on == 'all' || steps.changes.outputs[inputs.runs-on] == 'true' }}
|
||||
|
@ -7,7 +7,7 @@
|
||||
"dev": "vite dev",
|
||||
"test": "vitest run --mode development",
|
||||
"build": "vite build",
|
||||
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
||||
"check": "svelte-check --tsconfig ./tsconfig.json",
|
||||
"check:watch": "pnpm check --watch",
|
||||
"lint": "prettier --plugin-search-dir . --check . && eslint .",
|
||||
"format": "prettier --plugin-search-dir . --write .",
|
||||
|
Loading…
Reference in New Issue
Block a user