Skip to content

Commit 82f8a68

Browse files
Fix deprecations in github actions (#522)
1 parent c594356 commit 82f8a68

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/dev_builds.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- uses: actions/checkout@v3
2222
- name: Extract tag
2323
id: extract_tag
24-
run: echo "::set-output name=tag::$(echo $(git describe --tags --always))"
24+
run: echo "tag=$(echo $(git describe --tags --always))" >> $GITHUB_OUTPUT
2525
- name: Print container tag
2626
run: echo "Running dev build for ${{ steps.extract_tag.outputs.tag }}"
2727

@@ -64,7 +64,7 @@ jobs:
6464
go-version: '1.20'
6565
- name: Extract tag
6666
id: extract_tag
67-
run: echo "::set-output name=tag::$(echo $(git describe --tags --always))"
67+
run: echo "tag=$(echo $(git describe --tags --always))" >> $GITHUB_OUTPUT
6868
- name: Print container tag
6969
run: echo "Running dev build for ${{ steps.extract_tag.outputs.tag }}"
7070

.github/workflows/release_builds.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- uses: actions/checkout@v3
2121
- name: Extract tag
2222
id: extract_tag
23-
run: echo "::set-output name=tag::$(echo ${GITHUB_REF#refs/tags/v})"
23+
run: echo "tag=$(echo ${GITHUB_REF#refs/tags/v})" >> $GITHUB_OUTPUT
2424
- name: Print container tag
2525
run: echo "Running release build for ${{ steps.extract_tag.outputs.tag }}"
2626

@@ -63,7 +63,7 @@ jobs:
6363
go-version: '1.20'
6464
- name: Extract tag
6565
id: extract_tag
66-
run: echo "::set-output name=tag::$(echo ${GITHUB_REF#refs/tags/v})"
66+
run: echo "tag=$(echo ${GITHUB_REF#refs/tags/v})" >> $GITHUB_OUTPUT
6767
- name: Print container tag
6868
run: echo "Running release build for ${{ steps.extract_tag.outputs.tag }}"
6969

0 commit comments

Comments
 (0)