Skip to content

Commit

Permalink
Cloning outside base dir not allowed
Browse files Browse the repository at this point in the history
Checkout action refuses to clone to the parent of the "current" directory.
  • Loading branch information
gertjanklein committed Sep 22, 2023
1 parent 73c5019 commit 44b7a0a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build-export-for-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ jobs:
uses: actions/checkout@v4
with:
repository: gertjanklein/iris-export-builder
path: '../ieb'
path: 'ieb'


- name: Checkout iris-export-extractor
uses: actions/checkout@v4
with:
repository: gertjanklein/iris-export-extractor
path: '../iee'
path: 'iee'


- name: Set up Python 3.11
Expand All @@ -40,8 +40,8 @@ jobs:
- name: Install export builder/extractor dependencies
run: |
python -m pip install --upgrade pip wheel
pip install -r ../ieb/requirements.txt
pip install -r ../iee/requirements.txt
pip install -r ieb/requirements.txt
pip install -r iee/requirements.txt

- name: Prepare IRIS
Expand All @@ -52,7 +52,7 @@ jobs:
- name: Build the full export
run: |
python ../ieb/src/build-export.py ci/build-export.toml
python ieb/src/build-export.py ci/build-export.toml
mv ci/export.xml "$BASENAME-with-tests.xml"
zip --junk-paths "$BASENAME-with-tests.zip" "$BASENAME-with-tests.xml"
Expand All @@ -63,19 +63,19 @@ jobs:

- name: Create export without tests
run: |
python ../iee/src/extract.py -- "$BASENAME-with-tests.xml" "$BASENAME.xml" '*' '-Strix.Tests.*'
python iee/src/extract.py -- "$BASENAME-with-tests.xml" "$BASENAME.xml" '*' '-Strix.Tests.*'
zip --junk-paths "$BASENAME.zip" "$BASENAME.xml"

- name: Create export for testing component
run: |
python ../iee/src/extract.py "$BASENAME-with-tests.xml" "$BASENAME-testing.xml" @ci/Strix.Testing.deps.txt
python iee/src/extract.py "$BASENAME-with-tests.xml" "$BASENAME-testing.xml" @ci/Strix.Testing.deps.txt
zip --junk-paths "$BASENAME-testing.zip" "$BASENAME-testing.xml"

- name: Create export for XML component
run: |
python ../iee/src/extract.py "$BASENAME-with-tests.xml" "$BASENAME-XML.xml" @ci/Strix.XML.deps.txt
python iee/src/extract.py "$BASENAME-with-tests.xml" "$BASENAME-XML.xml" @ci/Strix.XML.deps.txt
zip --junk-paths "$BASENAME-XML.zip" "$BASENAME-XML.xml"

Expand Down

0 comments on commit 44b7a0a

Please sign in to comment.