Skip to content

Commit 182ee92

Browse files
committed
CI: Fix deprecation warning
1 parent 14a3d43 commit 182ee92

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/CD.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ jobs:
3030
sed -i '' -e "s/CURRENT_PROJECT_VERSION =.*/CURRENT_PROJECT_VERSION = ${GIT_SHA};/g" HeliPort.xcodeproj/project.pbxproj
3131
fi
3232
33-
echo "::set-env name=VER::$MARKETING_VERSION"
34-
echo "::set-env name=SHORT_SHA::$GIT_SHA"
33+
echo "VER=$MARKETING_VERSION" >> $GITHUB_ENV
34+
echo "SHORT_SHA=$GIT_SHA" >> $GITHUB_ENV
3535
if [[ -z $CUR_TAG ]]; then
36-
echo "::set-env name=OLD_PRE_TAG::NULL"
36+
echo "OLD_PRE_TAG=NULL" >> $GITHUB_ENV
3737
else
38-
echo "::set-env name=OLD_PRE_TAG::$CUR_TAG"
38+
echo "OLD_PRE_TAG=$CUR_TAG">> $GITHUB_ENV
3939
fi
4040
shell: zsh {0}
4141

@@ -58,14 +58,14 @@ jobs:
5858
- name: Setup Prerelease Variables
5959
if: github.event_name == 'push'
6060
run: |
61-
echo "::set-env name=REL_TAG::v${VER}-alpha"
62-
echo "::set-env name=IS_PRE::true"
61+
echo "REL_TAG=v${VER}-alpha" >> $GITHUB_ENV
62+
echo "IS_PRE=true" >> $GITHUB_ENV
6363
6464
- name: Setup Release Variables
6565
if: github.event_name == 'workflow_dispatch'
6666
run: |
67-
echo "::set-env name=REL_TAG::v${VER}"
68-
echo "::set-env name=IS_PRE::false"
67+
echo "REL_TAG=v${VER}" >> $GITHUB_ENV
68+
echo "IS_PRE=false" >> $GITHUB_ENV
6969
7070
- name: Generate Prerelease Release Notes
7171
if: github.event_name == 'push'

0 commit comments

Comments
 (0)