Co-authored-by: TakahashiNg <83152264+TakahashiNguyen@users.noreply.github.com> Reviewed-on: #14
This commit was merged in pull request #14.
This commit is contained in:
@@ -14,8 +14,6 @@ jobs:
|
|||||||
pull-requests: write
|
pull-requests: write
|
||||||
id-token: write
|
id-token: write
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
|
||||||
new_version: ${{ steps.set_output.outputs.version }}
|
|
||||||
steps:
|
steps:
|
||||||
- name: Calculate and Export Target IP
|
- name: Calculate and Export Target IP
|
||||||
run: |
|
run: |
|
||||||
@@ -116,8 +114,7 @@ jobs:
|
|||||||
# Lowercase Repository
|
# Lowercase Repository
|
||||||
REPO_LOWER=$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')
|
REPO_LOWER=$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')
|
||||||
|
|
||||||
# Lấy version từ job release và lowercase nó (cho các bản prerelease)
|
RAW_VERSION="${{ steps.set_output.outputs.version }}"
|
||||||
RAW_VERSION="${{ needs.release.outputs.new_version }}"
|
|
||||||
VERSION_LOWER=$(echo "$RAW_VERSION" | tr '[:upper:]' '[:lower:]')
|
VERSION_LOWER=$(echo "$RAW_VERSION" | tr '[:upper:]' '[:lower:]')
|
||||||
|
|
||||||
echo "repo=$REPO_LOWER" >> $GITHUB_OUTPUT
|
echo "repo=$REPO_LOWER" >> $GITHUB_OUTPUT
|
||||||
|
|||||||
Reference in New Issue
Block a user