refactor(action): reduce sleep duration and remove verbose exports
- Decreases sleep duration from 5 seconds to 3 seconds for efficiency - Removes unnecessary verbose export statements to streamline scripts
This commit is contained in:
@@ -32,16 +32,15 @@ inputs:
|
|||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
- name: Sleep for 5 seconds
|
- name: Sleep for 3 seconds
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
echo "Sleeping for 5 seconds to ensure the environment is ready..."
|
echo "Sleeping for 3 seconds to ensure the environment is ready..."
|
||||||
sleep 5
|
sleep 3
|
||||||
|
|
||||||
- name: Fetch release from Gitea
|
- name: Fetch release from Gitea
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
export VERBOSE="true"
|
|
||||||
"${{ github.action_path }}/scripts/fetch-gitea-release.sh"
|
"${{ github.action_path }}/scripts/fetch-gitea-release.sh"
|
||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ inputs.gitea_token }}
|
GITEA_TOKEN: ${{ inputs.gitea_token }}
|
||||||
@@ -54,7 +53,6 @@ runs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
TAG_NAME=${{ inputs.tag_name }}
|
TAG_NAME=${{ inputs.tag_name }}
|
||||||
export VERBOSE="true"
|
|
||||||
export TAG="$TAG_NAME"
|
export TAG="$TAG_NAME"
|
||||||
export WORKDIR="$GT_RSA_RELEASE_DIR"
|
export WORKDIR="$GT_RSA_RELEASE_DIR"
|
||||||
export GITHUB_OWNER="${{ inputs.github_owner }}"
|
export GITHUB_OWNER="${{ inputs.github_owner }}"
|
||||||
|
Reference in New Issue
Block a user