9
0
mirror of https://github.com/Dreeam-qwq/Gale.git synced 2025-12-28 02:59:12 +00:00

[ci skip] Update set output

Since it is deprecated and may be removed in the future
see https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
This commit is contained in:
Dreeam
2024-07-18 02:48:54 +08:00
parent 4a647c3d3f
commit 8241709b84

View File

@@ -26,14 +26,14 @@ jobs:
id: paperRef
run: |
cd Paper
echo "::set-output name=paperRef::$(git rev-parse HEAD)"
echo "paperRef=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
- name: Get Gale Current Paper commit Hash
id: currPaperRef
run: |
cd Gale
currPaperRef=$(grep "^paperRef\s*=" gradle.properties | sed 's/^paperRef\s*=\s*//')
echo "::set-output name=currPaperRef::$currPaperRef"
echo "currPaperRef=$currPaperRef" >> $GITHUB_OUTPUT
- name: Update paperRef in Gale
run: |