1
0
mirror of synced 2026-01-08 12:01:53 -05:00

remove disable line

This commit is contained in:
Rachael Sewell
2023-09-21 19:12:43 -07:00
parent 6024a3bac4
commit ff5088b8cc

View File

@@ -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 doesnt 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.