Skip to content

Commit d2617c6

Browse files
committed
Add distro version
1 parent 9086637 commit d2617c6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/builtAndTest.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,18 @@ jobs:
7676
with:
7777
submodules: true
7878

79+
- name: Get Distribution Version
80+
id: distro_version
81+
run: |
82+
DISTRO_VERSION=$(lsb_release -r -s)
83+
echo "DISTRO_VERSION=$DISTRO_VERSION" >> $GITHUB_ENV
84+
7985
- name: Download PcapPlusPlus
8086
uses: robinraju/release-downloader@v1
8187
with:
8288
repository: "seladb/PcapPlusPlus"
8389
tag: "v${{env.PCAPPLUSPLUS_LATEST_VERSION}}"
84-
fileName: "pcapplusplus-${{env.PCAPPLUSPLUS_LATEST_VERSION}}-ubuntu-$(lsb_release -r -s)-gcc-*.tar.gz"
90+
fileName: "pcapplusplus-${{env.PCAPPLUSPLUS_LATEST_VERSION}}-ubuntu-${{env.DISTRO_VERSION}}-gcc-*.tar.gz"
8591
out-file-path: "server/linux/libs"
8692
tarBall: true
8793
extract: true

0 commit comments

Comments
 (0)