Skip to content

Commit

Permalink
Add the .local/bin to PATH env
Browse files Browse the repository at this point in the history
  • Loading branch information
muuki88 committed Oct 26, 2020
1 parent aac52b5 commit 75eb8f1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ jobs:
# parse the release version from the github ref
# https://stackoverflow.com/questions/58177786/get-the-current-pushed-tag-in-github-actions
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
run: |
echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
echo "$HOME/.local/bin/" >> $GITHUB_PATH
- name: show release version
run: echo ${{ env.RELEASE_VERSION }}

Expand All @@ -27,7 +30,9 @@ jobs:

# this setup is all for the github pages deployment to work
- name: install sphinx
run: pip3 install --user sphinx sphinx_rtd_theme
run: |
pip3 install --user sphinx sphinx_rtd_theme
which sphinx-build
- name: setup git
run: |
Expand Down
2 changes: 1 addition & 1 deletion src/sphinx/archetypes/java_app/customize.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ configuration file during execution. You can define the configuration file locat


The configuration path is the path on the **target** system. This means that native-packager needs to process this path
to create a valid ``universal:mapping``s entry.
to create a valid ``universal:mapping`` s entry.

* ``${app_home}/../`` is removed
* ``%APP_HOME%`` is removed and ``\`` is being replaced with ``/``
Expand Down
2 changes: 1 addition & 1 deletion src/sphinx/archetypes/java_server/customize.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Application Configuration
=========================

After :doc:`creating a package <my-first-project>`, the very next thing needed, usually, is the ability for users/ops to customize the application once it's deployed. Let's add some configuration to the newly deployed application.
After :doc:`creating a package <java_app/index.rst>`, the very next thing needed, usually, is the ability for users/ops to customize the application once it's deployed. Let's add some configuration to the newly deployed application.

There are generally two types of configurations:

Expand Down
4 changes: 2 additions & 2 deletions src/sphinx/formats/graalvm-native-image.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _graalvm-native-image-plugin:

GraalVM Native Image Plugin
=============
===========================

GraalVM's ``native-image`` compiles Java programs AOT (ahead-of-time) into native binaries.

Expand Down Expand Up @@ -48,7 +48,7 @@ Settings
--------

``native-image`` Executable Command (Pay attention if you are using Windows OS)
~~~~

Putting ``native-image`` in ``PATH`` does not work for Windows. ``native-image`` is a batch file in Windows that calls another executable to compile the Java classes to a standalone executable. Therefore, the full path to the batch file e.g. ``C:\Program Files\Java\graalvm\bin\native-image.cmd`` must be provided. It is important to include ``.cmd``.

``graalVMNativeImageCommand``
Expand Down

0 comments on commit 75eb8f1

Please sign in to comment.