remove disable line
This commit is contained in:
@@ -102,20 +102,20 @@ Next, the script gets the current time and sets it as an output variable that ac
|
||||
|
||||
echo "Hello $1"
|
||||
time=$(date)
|
||||
{%- ifversion actions-save-state-set-output-envs %}
|
||||
{%- ifversion actions-save-state-set-output-envs %}
|
||||
echo "time=$time" >> $GITHUB_OUTPUT
|
||||
{%- else %}
|
||||
{%- else %}
|
||||
echo "::set-output name=time::$time"
|
||||
{%- endif %}
|
||||
``` <!-- markdownlint-disable-line fenced-code-language -->
|
||||
{%- endif %}
|
||||
```
|
||||
|
||||
If `entrypoint.sh` executes without any errors, the action's status is set to `success`. You can also explicitly set exit codes in your action's code to provide an action's status. For more information, see "[AUTOTITLE](/actions/creating-actions/setting-exit-codes-for-actions)."
|
||||
|
||||
1. Make your `entrypoint.sh` file executable. Git provides a way to explicitly change the permission mode of a file so that it doesn’t get reset every time there is a clone/fork.
|
||||
|
||||
```shell copy
|
||||
$ git add entrypoint.sh
|
||||
$ git update-index --chmod=+x entrypoint.sh
|
||||
git add entrypoint.sh
|
||||
git update-index --chmod=+x entrypoint.sh
|
||||
```
|
||||
|
||||
1. Optionally, to check the permission mode of the file in the git index, run the following command.
|
||||
|
||||
Reference in New Issue
Block a user