Skip to content

Commit 7f69fb3

Browse files
committed
GHA: update deprecated usage of set-output
1 parent 4d47c30 commit 7f69fb3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,12 @@ jobs:
7171
id: get-date
7272
shell: bash
7373
run: |
74-
echo "::set-output name=year-week::$(date -u "+%Y-%U")"
75-
echo "::set-output name=date::$(date -u "+%F")"
74+
echo "year-week=$(date -u "+%Y-%U")" >> $GITHUB_OUTPUT
75+
echo "date=$(date -u "+%F")" >> $GITHUB_OUTPUT
76+
77+
78+
# echo "::set-output name=year-week::$(date -u "+%Y-%U")"
79+
# echo "::set-output name=date::$(date -u "+%F")"
7680

7781
- name: Restore R package cache
7882
uses: actions/cache@v2

0 commit comments

Comments
 (0)