Skip to content

Commit

Permalink
only run action on tag push
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelloPerathoner committed Sep 3, 2024
1 parent 9157385 commit fd7c98f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gradle-jar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on: push

jobs:
build:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ${{ matrix.os }}
env:
LANG: en_US.UTF-8
Expand Down Expand Up @@ -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
13 changes: 7 additions & 6 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -23,7 +23,9 @@ Usage example in :code:`schema.xml`:
</analyzer>
</fieldType>
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.`
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit fd7c98f

Please sign in to comment.