From 9791bc29216e90b0ed1a44011e368a5491ed1cc2 Mon Sep 17 00:00:00 2001 From: moreal Date: Fri, 29 Nov 2024 08:23:48 +0900 Subject: [PATCH] ci(gh-actions): remove the step to check Libplanet submodule --- .github/workflows/main.yml | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 16c96c48ea..97261b24ea 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: