Skip to content

Commit

Permalink
::set-output command is deprecated and upgrading to new method
Browse files Browse the repository at this point in the history
  • Loading branch information
ruck314 committed Dec 3, 2024
1 parent a8b52cc commit 19614bd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/conda_build_lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ jobs:
CONDA_UPLOAD_TOKEN_TAG: ${{ secrets.CONDA_UPLOAD_TOKEN_TAG }}
OS_NAME: ${{ matrix.os }}
run: |
echo ::set-output name=token::$CONDA_UPLOAD_TOKEN_TAG
echo ::set-output name=os::linux-64
echo "token=$CONDA_UPLOAD_TOKEN_TAG" >> $GITHUB_OUTPUT
echo "os=linux-64" >> $GITHUB_OUTPUT
- name: Build
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/conda_build_proj.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ jobs:
CONDA_UPLOAD_TOKEN_TAG: ${{ secrets.CONDA_UPLOAD_TOKEN_TAG }}
URL_BASE: https://github.com/${{ github.repository }}/releases/download
run: |
echo ::set-output name=token::$CONDA_UPLOAD_TOKEN_TAG
echo ::set-output name=url::${URL_BASE}/${GITHUB_REF#refs/tags/}/rogue_${GITHUB_REF#refs/tags/}.zip
echo ::set-output name=tag::${GITHUB_REF#refs/tags/}
echo ::set-output name=file::rogue_${GITHUB_REF#refs/tags/}.zip
echo "token=$CONDA_UPLOAD_TOKEN_TAG" >> $GITHUB_OUTPUT
echo "url=${URL_BASE}/${GITHUB_REF#refs/tags/}/rogue_${GITHUB_REF#refs/tags/}.zip" >> $GITHUB_OUTPUT
echo "tag=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
echo "file=rogue_${GITHUB_REF#refs/tags/}.zip" >> $GITHUB_OUTPUT
- name: Download And Extract
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conda_build_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Get Image Information
id: get_image_info
run: |
echo ::set-output name=tag::`git describe --tags`
echo "tag=$(git describe --tags)" >> $GITHUB_OUTPUT
- name: Build And Upload
env:
Expand Down

0 comments on commit 19614bd

Please sign in to comment.