Skip to content

Commit 2ecf713

Browse files
authored
Merge pull request #18 from sdimitro/master
Fix Debian Release Workflow
2 parents 8e0ea95 + 5949b90 commit 2ecf713

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/debian-release.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,20 @@ jobs:
2727
# "refs/head/release/6.0.1.0" -> "release_6-0-1-0"
2828
#
2929
gh_branch_name=$(echo "${{ github.ref }}" | cut -d / -f 3- )
30-
echo "::set-env name=GH_BRANCH_NAME::$gh_branch_name"
30+
echo "GH_BRANCH_NAME=$gh_branch_name" >> $GITHUB_ENV
3131
norm_branch_name=$(echo $gh_branch_name | tr /. _- )
32-
echo "::set-env name=NORM_BRANCH_NAME::$norm_branch_name"
3332
deb_file=libkdumpfile_${norm_branch_name}.deb
34-
echo "::set-env name=DEBIAN_FILE::$deb_file"
33+
echo "DEBIAN_FILE=$deb_file" >> $GITHUB_ENV
3534
ddeb_file=libkdumpfile-dbgsym_${norm_branch_name}.ddeb
36-
echo "::set-env name=DEBUG_DEBIAN_FILE::$ddeb_file"
35+
echo "DEBUG_DEBIAN_FILE=$ddeb_file" >> $GITHUB_ENV
3736
#
3837
# We create a separate tag, even for the Delphix release
3938
# tags, to avoid touching any of the original references
4039
# of our github history. (see later comment about Github
4140
# releases needing a corresponding tag to be linked with).
4241
#
4342
gh_release_tag=github_${norm_branch_name}
44-
echo "::set-env name=RELEASE_TAG::$gh_release_tag"
43+
echo "RELEASE_TAG=$gh_release_tag" >> $GITHUB_ENV
4544
- name: Install dependencies
4645
run: ./.github/scripts/install-deps.sh
4746
- name: Perform build and generate package

0 commit comments

Comments
 (0)