Skip to content

Commit

Permalink
Update and rename test-validate-fsh.yml to validate-fsh.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rockphotog authored Jan 27, 2025
1 parent 0406c0d commit c7346f4
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: TEST Validate FSH Files
name: Validate FSH Files

on:
workflow_dispatch:

# env:
# IG: mal
env:
IG: mal
# IG: ${{ vars.IG_KORTNAVN }}

jobs:
Expand All @@ -14,8 +14,8 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Call config workflow
uses: ./.github/workflows/config.yml
# - name: Call config workflow
# uses: ./.github/workflows/config.yml

- name: Setup Node.js
uses: actions/setup-node@v4
Expand Down Expand Up @@ -57,11 +57,11 @@ jobs:

- name: Run fsh-validator
run: |
cd ${{ steps.set-var.outputs.IG_KORTNAVN }}/input/fsh/
cd ${{ env.IG }}/input/fsh/
fsh-validator --all --log-path fsh-validator.log
- name: Upload output file
uses: actions/upload-artifact@v4
with:
name: fsh-validator.log
path: ${{ steps.set-var.outputs.IG_KORTNAVN }}/input/fsh/fsh-validator.log
path: ${{ env.IG }}/input/fsh/fsh-validator.log

0 comments on commit c7346f4

Please sign in to comment.