From 535c4f52662901631eb1ddcaf4594bffeb1ddece Mon Sep 17 00:00:00 2001 From: juadde Date: Thu, 2 May 2024 18:47:59 +0200 Subject: [PATCH] Pass the varialble to all jobs --- .github/workflows/CI.yml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 3984ec8..1cff7b7 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -20,17 +20,17 @@ name: CI on: push: +env: + # Variables to update in case of new versions + LUABITOP_VERSION: "1.0.2" + WIRESHARK_VERSION: "4.2.4" + LUA_VERSION: "5.2.4" + jobs: # LuaBitOp DLL Compilation luabitop_windows_build: runs-on: windows-latest - env: - # Variables to update in case of new versions - LUABITOP_VERSION: "1.0.2" - WIRESHARK_VERSION: "4.2.4" - LUA_VERSION: "5.2.4" - steps: # Get all sources - name: Get LuaBitOp @@ -367,11 +367,6 @@ jobs: make install && cd .. && unzip /test/Wireshark_plugin.zip -d /usr/local && - curl http://bitop.luajit.org/download/LuaBitOp-1.0.2.tar.gz -o bitop.tar.gz && - tar -xvf bitop.tar.gz && - cd LuaBitOp-* && - make install && - cd .. && tshark -e DISCRETE.VALUE -E header=y -T fields -r /test/pcapng_files/discrete.pcapng | tee /test/discrete.output " - name: Run diff