From 0c8ed75100a85bda909ecb3349ff8ca3b3eef085 Mon Sep 17 00:00:00 2001 From: Tom Lemmens Date: Sat, 13 Jul 2024 21:22:28 +0200 Subject: [PATCH] Change handling of local dependencies --- .github/workflows/TestXmlStructLoader.yml | 6 ++---- .github/workflows/TestXmlStructWriter.yml | 6 +++--- .github/workflows/TestXsdToStruct.yml | 2 +- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/TestXmlStructLoader.yml b/.github/workflows/TestXmlStructLoader.yml index 4318067..b00591b 100644 --- a/.github/workflows/TestXmlStructLoader.yml +++ b/.github/workflows/TestXmlStructLoader.yml @@ -24,12 +24,10 @@ jobs: version: ${{ inputs.version }} arch: ${{ inputs.arch }} - uses: julia-actions/cache@v2 - - name: Install local AbstractXsdTypes for XsdToStruct - run: julia --project=XsdToStruct.jl -e 'using Pkg; Pkg.develop(path="AbstractXsdTypes.jl");' - name: Install local AbstractXsdTypes - run: julia --project=XmlStructLoader.jl -e 'using Pkg; Pkg.develop(path="AbstractXsdTypes.jl");' + run: julia --project=XmlStructLoader.jl -e 'using Pkg; Pkg.add(path=".", subdir="AbstractXsdTypes.jl");' - name: Install local XsdToStruct - run: julia --project=XmlStructLoader.jl/test -e 'using Pkg; Pkg.develop(path="XsdToStruct.jl");' + run: julia --project=XmlStructLoader.jl -e 'using Pkg; Pkg.add(path=".", subdir="XsdToStruct.jl");' - uses: julia-actions/julia-buildpkg@v1 with: project: XmlStructLoader.jl diff --git a/.github/workflows/TestXmlStructWriter.yml b/.github/workflows/TestXmlStructWriter.yml index dc19519..f0980df 100644 --- a/.github/workflows/TestXmlStructWriter.yml +++ b/.github/workflows/TestXmlStructWriter.yml @@ -25,11 +25,11 @@ jobs: arch: ${{ inputs.arch }} - uses: julia-actions/cache@v2 - name: Install local AbstractXsdTypes - run: julia --project=XmlStructWriter.jl -e 'using Pkg; Pkg.develop(path="AbstractXsdTypes.jl");' + run: julia --project=XmlStructWriter.jl -e 'using Pkg; Pkg.add(path=".", subdir="AbstractXsdTypes.jl");' - name: Install local XsdToStruct - run: julia --project=XmlStructWriter.jl/test -e 'using Pkg; Pkg.develop(path="XsdToStruct.jl");' + run: julia --project=XmlStructWriter.jl -e 'using Pkg; Pkg.add(path=".", subdir="XsdToStruct.jl");' - name: Install local XmlStructLoader - run: julia --project=XmlStructWriter.jl/test -e 'using Pkg; Pkg.develop(path="XmlStructLoader.jl");' + run: julia --project=XmlStructWriter.jl -e 'using Pkg; Pkg.add(path=".", subdir="XmlStructLoader.jl");' - uses: julia-actions/julia-buildpkg@v1 with: project: XmlStructWriter.jl diff --git a/.github/workflows/TestXsdToStruct.yml b/.github/workflows/TestXsdToStruct.yml index 405e6b7..9effdda 100644 --- a/.github/workflows/TestXsdToStruct.yml +++ b/.github/workflows/TestXsdToStruct.yml @@ -25,7 +25,7 @@ jobs: arch: ${{ inputs.arch }} - uses: julia-actions/cache@v2 - name: Install local AbstractXsdTypes - run: julia --project=XsdToStruct.jl -e 'using Pkg; Pkg.develop(path="AbstractXsdTypes.jl");' + run: julia --project=XsdToStruct.jl -e 'using Pkg; Pkg.add(path=".", subdir="AbstractXsdTypes.jl");' - uses: julia-actions/julia-buildpkg@v1 with: project: XsdToStruct.jl