Skip to content

Commit c21d591

Browse files
committed
Fix set-output GHA deprecation warning in build-container.yml
1 parent d82a98d commit c21d591

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build-container.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
steps:
1818
- name: make date tag
1919
id: mkdatetag
20-
run: echo "::set-output name=dtag::$(date +%Y%m%d-%H%M)"
20+
run: echo "dtag=$(date +%Y%m%d-%H%M)" >> $GITHUB_OUTPUT
2121

2222
build:
2323
runs-on: ubuntu-latest
@@ -42,7 +42,7 @@ jobs:
4242
# This causes the tag_list array to be comma-separated below,
4343
# which is required for build-push-action
4444
IFS=,
45-
echo "::set-output name=taglist::${tag_list[*]}"
45+
echo "taglist=${tag_list[*]}" >> $GITHUB_OUTPUT
4646
4747
- name: Set up Docker Buildx
4848
uses: docker/setup-buildx-action@v1

.github/workflows/python-linters.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v2
1212
- id: python-files
1313
run: |
14-
echo filelist=:$(find . -type f -exec awk ' /^#!.*python/{print FILENAME} {nextfile}' {} + | tr '\n' ' ') >> $GITHUB_OUTPUT
14+
echo "filelist=:$(find . -type f -exec awk ' /^#!.*python/{print FILENAME} {nextfile}' {} + | tr '\n' ' ')" >> $GITHUB_OUTPUT
1515
1616
pylint:
1717
runs-on: ubuntu-20.04

0 commit comments

Comments
 (0)