-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update GH actions to use GITHUB_OUTPUT (#1617)
* use GITHUB_STATE
- Loading branch information
1 parent
1741708
commit c729499
Showing
1 changed file
with
8 additions
and
16 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 |
---|---|---|
|
@@ -39,10 +39,8 @@ jobs: | |
|
||
- name: Prepare timestamp | ||
id: cache_timestamp | ||
shell: cmake -P {0} | ||
run: | | ||
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC) | ||
message("::set-output name=timestamp::${current_date}") | ||
shell: bash | ||
run: echo timestamp="$(date +'%Y-%m-%dT%H:%M:%S')" >> $GITHUB_OUTPUT | ||
|
||
- name: Cache files for tidy | ||
uses: pat-s/[email protected] | ||
|
@@ -88,10 +86,8 @@ jobs: | |
|
||
- name: Prepare timestamp | ||
id: cache_timestamp | ||
shell: cmake -P {0} | ||
run: | | ||
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC) | ||
message("::set-output name=timestamp::${current_date}") | ||
shell: bash | ||
run: echo timestamp="$(date +'%Y-%m-%dT%H:%M:%S')" >> $GITHUB_OUTPUT | ||
|
||
- name: Cache files for cppcheck | ||
uses: pat-s/[email protected] | ||
|
@@ -235,10 +231,8 @@ jobs: | |
rbuild prepare -d cget -s gh | ||
- name: Prepare timestamp | ||
id: cache_timestamp | ||
shell: cmake -P {0} | ||
run: | | ||
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC) | ||
message("::set-output name=timestamp::${current_date}") | ||
shell: bash | ||
run: echo timestamp="$(date +'%Y-%m-%dT%H:%M:%S')" >> $GITHUB_OUTPUT | ||
|
||
- name: Cache files for ccache | ||
# Ignore the failure of a step and avoid terminating the job. | ||
|
@@ -331,10 +325,8 @@ jobs: | |
rbuild prepare -d cget -s gh | ||
- name: Prepare timestamp | ||
id: cache_timestamp | ||
shell: cmake -P {0} | ||
run: | | ||
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC) | ||
message("::set-output name=timestamp::${current_date}") | ||
shell: bash | ||
run: echo timestamp="$(date +'%Y-%m-%dT%H:%M:%S')" >> $GITHUB_OUTPUT | ||
|
||
- name: Cache files for ccache | ||
# Ignore the failure of a step and avoid terminating the job. | ||
|