-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0970954
commit ccb9d11
Showing
4 changed files
with
13 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,9 +24,9 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Lấy hash commit mới nhất của branch Unity-project | ||
- name: Lấy hash commit mới nhất | ||
run: | | ||
$commit = git ls-remote https://github.com/${{ secrets.SOURCE_CODE_REPOSITORY }}.git Unity-project | ||
$commit = git ls-remote https://github.com/${{ secrets.SOURCE_CODE_REPOSITORY }}.git ${{ secrets.SOURCE_CODE_BRANCH }} | ||
$hash = $commit.Split("`t")[0] | ||
echo "LATEST_COMMIT=$hash" | Out-File -FilePath $env:GITHUB_ENV -Append | ||
- name: Cache hash commit | ||
|
@@ -66,7 +66,7 @@ jobs: | |
uses: actions/checkout@v4 | ||
with: | ||
repository: ${{ secrets.SOURCE_CODE_REPOSITORY }} | ||
ref: Unity-project | ||
ref: ${{ secrets.SOURCE_CODE_BRANCH }} | ||
- name: Setup MSBuild | ||
uses: microsoft/setup-msbuild@v2 | ||
- name: Setup NuGet | ||
|
@@ -104,7 +104,7 @@ jobs: | |
uses: actions/checkout@v4 | ||
with: | ||
repository: ${{ secrets.SOURCE_CODE_REPOSITORY }} | ||
ref: Unity-project | ||
ref: ${{ secrets.SOURCE_CODE_BRANCH }} | ||
- name: Cache | ||
id: cache-restore | ||
uses: actions/cache@v4 | ||
|
@@ -193,7 +193,7 @@ jobs: | |
uses: actions/checkout@v4 | ||
with: | ||
repository: ${{ secrets.SOURCE_CODE_REPOSITORY }} | ||
ref: Unity-project | ||
ref: ${{ secrets.SOURCE_CODE_BRANCH }} | ||
- name: Cache | ||
uses: actions/cache@v4 | ||
id: cache-restore | ||
|
@@ -261,7 +261,7 @@ jobs: | |
uses: actions/checkout@v4 | ||
with: | ||
repository: ${{ secrets.SOURCE_CODE_REPOSITORY }} | ||
ref: Unity-project | ||
ref: ${{ secrets.SOURCE_CODE_BRANCH }} | ||
- name: Giải phóng bộ nhớ | ||
uses: jlumbroso/[email protected] | ||
- name: Cache | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,7 +70,7 @@ jobs: | |
uses: actions/checkout@v4 | ||
- name: Lấy hash commit mới nhất | ||
run: | | ||
$commit = git ls-remote https://github.com/${{ secrets.SOURCE_CODE_REPOSITORY }}.git Unity-project | ||
$commit = git ls-remote https://github.com/${{ secrets.SOURCE_CODE_REPOSITORY }}.git ${{ secrets.SOURCE_CODE_BRANCH }} | ||
$hash = $commit.Split("`t")[0] | ||
echo "LATEST_COMMIT=$hash" | Out-File -FilePath $env:GITHUB_ENV -Append | ||
- name: Cache hash commit | ||
|
@@ -110,7 +110,7 @@ jobs: | |
uses: actions/checkout@v4 | ||
with: | ||
repository: ${{ secrets.SOURCE_CODE_REPOSITORY }} | ||
ref: Unity-project | ||
ref: ${{ secrets.SOURCE_CODE_BRANCH }} | ||
- name: Setup MSBuild | ||
uses: microsoft/setup-msbuild@v2 | ||
- name: Setup NuGet | ||
|
@@ -148,7 +148,7 @@ jobs: | |
uses: actions/checkout@v4 | ||
with: | ||
repository: ${{ secrets.SOURCE_CODE_REPOSITORY }} | ||
ref: Unity-project | ||
ref: ${{ secrets.SOURCE_CODE_BRANCH }} | ||
- name: Cache | ||
id: cache-restore | ||
uses: actions/cache@v4 | ||
|
@@ -238,7 +238,7 @@ jobs: | |
uses: actions/checkout@v4 | ||
with: | ||
repository: ${{ secrets.SOURCE_CODE_REPOSITORY }} | ||
ref: Unity-project | ||
ref: ${{ secrets.SOURCE_CODE_BRANCH }} | ||
- name: Cache | ||
uses: actions/cache@v4 | ||
id: cache-restore | ||
|
@@ -306,7 +306,7 @@ jobs: | |
uses: actions/checkout@v4 | ||
with: | ||
repository: ${{ secrets.SOURCE_CODE_REPOSITORY }} | ||
ref: Unity-project | ||
ref: ${{ secrets.SOURCE_CODE_BRANCH }} | ||
- name: Giải phóng bộ nhớ | ||
uses: jlumbroso/[email protected] | ||
- name: Cache | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters