Skip to content

Commit

Permalink
Merge pull request #3056 from moreal/ci/gh-actions/remove-libplanet-v…
Browse files Browse the repository at this point in the history
…ersion-check

ci(gh-actions): remove the step to check Libplanet submodule
  • Loading branch information
moreal authored Nov 29, 2024
2 parents 4ac5bc3 + 9791bc2 commit 8728121
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,27 +20,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check if .Libplanet refers to a tagged commit
if: |
github.event_name == 'push' && (
github.ref == 'refs/heads/main' ||
startsWith(github.ref, 'refs/heads/rc-') ||
startsWith(github.ref, 'refs/tags/')
) ||
github.event_name == 'pull_request' && (
github.head_ref == 'refs/heads/main' ||
startsWith(github.head_ref, 'refs/heads/rc-') ||
startsWith(github.head_ref, 'refs/tags/')
)
run: |
set -e
pushd .Libplanet/
git fetch origin 'refs/tags/*:refs/tags/*'
if ! git describe --tags --exact-match; then
echo "The unreleased Libplanet shouldn't be used." > /dev/stderr
exit 1
fi
popd
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
Expand Down

0 comments on commit 8728121

Please sign in to comment.