Skip to content

Commit

Permalink
Fix setoutput warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
doumdi committed Jan 9, 2024
1 parent ade78d9 commit d277d4b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

- name: Generate Version Output
id: generate_version_output
run: echo "::set-output name=version::$(cat VERSION)"
run: echo "version=$(cat VERSION)" >> $GITHUB_OUTPUT
shell: bash

- name: Print Version Information
Expand Down Expand Up @@ -155,12 +155,13 @@ jobs:
- name: Get Upload URL
id: get_release_info
run: |
echo "::set-output name=upload_url::$(cat release_url.txt)"
echo "upload_url=$(cat release_url.txt)" >> $GITHUB_OUTPUT
ls -l
cat release_url.txt
- name: Generate Version Output
id: generate_version_output
run: echo "::set-output name=version::$(cat VERSION)"

run: echo "version=$(cat VERSION)" >> $GITHUB_OUTPUT
shell: bash

- name: Print Version Information
Expand All @@ -170,10 +171,10 @@ jobs:
- name: Generate Release File Name
id: generate_release_file_name
run: |
echo "::set-output name=release_file_name::webrtc-native-build-${{ matrix.os }}-\
echo "release_file_name=webrtc-native-build-${{ matrix.os }}-\
${{ matrix.architecture }}-\
${{ matrix.build-type }}-\
${{ steps.generate_version_output.outputs.version }}"
${{ steps.generate_version_output.outputs.version }}" >> $GITHUB_OUTPUT
- name: Print Release File Name
run: echo "Release File Name ${{ steps.generate_release_file_name.outputs.release_file_name }}"
Expand Down

0 comments on commit d277d4b

Please sign in to comment.