diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 82ee6b8..9d78bef 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -47,25 +47,25 @@ jobs: run: wget ${LUA_URL}/lua-${LUA_VERSION}.tar.gz -O lua.tar.gz # Store Sources as artifacts for future stages - - name: Archive DLL as artifact + - name: Archive LuaBitOp sources as artifact uses: actions/upload-artifact@v4 with: name: LuaBitOp-Sources path: bitop.zip if-no-files-found: error - - name: Archive DLL as artifact + - name: Archive Wireshark sources as artifact uses: actions/upload-artifact@v4 with: name: Wireshark-Sources path: wireshark.tar.xz if-no-files-found: error - - name: Archive DLL as artifact + - name: Archive Winreshark windows installer as artifact uses: actions/upload-artifact@v4 with: - name: Wireshark-Windows-Executable + name: Wireshark-Windows-Installer path: wireshark.exe if-no-files-found: error - - name: Archive DLL as artifact + - name: Archive Lua sources as artifact uses: actions/upload-artifact@v4 with: name: Lua-Sources @@ -78,28 +78,26 @@ jobs: needs: dependency_download steps: # Get all sources - - name: Get LuaBitOp - run: Invoke-WebRequest -Uri http://bitop.luajit.org/download/LuaBitOp-${env:LUABITOP_VERSION}.zip -OutFile dll.zip - - name: Get Wireshark - run: Invoke-WebRequest -Uri https://2.na.dl.wireshark.org/win64/Wireshark-${env:WIRESHARK_VERSION}-x64.exe -OutFile wireshark.exe - - name: Get Lua - run: Invoke-WebRequest -Uri https://www.lua.org/ftp/lua-${env:LUA_VERSION}.tar.gz -OutFile lua.tar.gz - - # Store Wireshark as artifact for future usage - - name: Archive wireshark.exe as artifact - uses: actions/upload-artifact@v4 + - name: Download LuaBitOp sources + uses: actions/download-artifact@v4 with: - name: Wireshark - path: wireshark.exe - if-no-files-found: error + name: LuaBitOp-Sources + - name: Download Wireshark installer + uses: actions/download-artifact@v4 + with: + name: Wireshark-Windows-Installer + - name: Download Lua sources + uses: actions/download-artifact@v4 + with: + name: Lua-Sources # Extract / rename folders and delete downloads - name: Unzip DLL source code - run: tar -xf dll.zip + run: tar -xf bitop.zip - name: Normalize DLL source code folder run: mv LuaBitOp* dll - name: Delete DLL source code archive - run: rm dll.zip + run: rm bitop.zip - name: Unzip Lua source code run: tar -xf lua.tar.gz - name: Normalize Lua source code folder