Skip to content

Commit

Permalink
Attempt to test checkout for Meadow.Contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenkuhn committed Aug 6, 2023
1 parent 9d006e5 commit a7f9f09
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,24 +25,13 @@ jobs:
uses: actions/checkout@v3
with:
path: Meadow.Core # we have to put this in a sub-folder so we can pull Contracts/Units to a parent folder

- name: Determine Meadow.Contracts branch to use
id: pick_contracts_branch
shell: bash
run: |
BRANCH=${GITHUB_REF#refs/heads/}
if git ls-remote --exit-code --heads https://github.com/WildernessLabs/Meadow.Contracts ${BRANCH}; then
echo "::set-output name=branch::${BRANCH}"
else
echo "::set-output name=success::develop"
fi

- name: Checkout Meadow.Contracts
uses: actions/checkout@v3
with:
repository: WildernessLabs/Meadow.Contracts
path: Meadow.Contracts
ref: ${{ steps.pick_contracts_branch.outputs.branch }}
ref: testtesttest

- name: Checkout Meadow.Units
uses: actions/checkout@v3
Expand Down

0 comments on commit a7f9f09

Please sign in to comment.