From fd7c98fe60b0d8c959c01f385fb278b9f836e022 Mon Sep 17 00:00:00 2001 From: Marcello Perathoner Date: Tue, 3 Sep 2024 19:01:08 +0200 Subject: [PATCH] only run action on tag push --- .github/workflows/gradle-jar.yml | 2 +- README.rst | 13 +++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/gradle-jar.yml b/.github/workflows/gradle-jar.yml index d5eeea0..fba7813 100644 --- a/.github/workflows/gradle-jar.yml +++ b/.github/workflows/gradle-jar.yml @@ -4,6 +4,7 @@ on: push jobs: build: + if: startsWith(github.ref, 'refs/tags/') runs-on: ${{ matrix.os }} env: LANG: en_US.UTF-8 @@ -33,6 +34,5 @@ jobs: - name: Release uses: softprops/action-gh-release@v2 - if: startsWith(github.ref, 'refs/tags/') with: files: repo/lib/build/libs/*.jar diff --git a/README.rst b/README.rst index 70768df..d41b183 100644 --- a/README.rst +++ b/README.rst @@ -10,7 +10,7 @@ This project contains: Latin Stem Filter ----------------- -Usage example in :code:`schema.xml`: +Usage example in :code:`conf/schema.xml`: .. code-block:: xml @@ -23,7 +23,9 @@ Usage example in :code:`schema.xml`: -The stemmer uses an algorithm by Schinke et al. See: +The stemmer uses an algorithm by Schinke et al. + +See: Schinke R, Greengrass M, Robertson AM and Willett P (1996) :title:`A stemming algorithm for Latin text databases.` @@ -37,7 +39,7 @@ Roman Numerals Filter The filter will convert roman :code:`XLII` to arabic :code:`42`. -Usage example in :code:`schema.xml`: +Usage example in :code:`conf/schema.xml`: .. code-block:: xml @@ -54,8 +56,7 @@ Usage example in :code:`schema.xml`: Sorting Value Source -------------------- -The value source generates a string that can be used as a key to sort strings correctly -like this: +The value source generates strings that sort correctly when used as keys, like this: #. paris-bn-lat-4638 #. paris-bn-lat-10528 @@ -65,7 +66,7 @@ instead of alphabetically, like this: #. paris-bn-lat-10528 #. paris-bn-lat-4638 -Usage example in :code:`solrconfig.xml`: +Usage example in :code:`conf/solrconfig.xml`: .. code-block:: xml