Generate targets for osquery 5.3.0 (#6188)

This commit is contained in:
Zach Wasserman
2022-06-13 08:04:21 -07:00
committed by GitHub
parent 7822666603
commit ca1c8ffd58
2 changed files with 5 additions and 5 deletions
@@ -14,7 +14,7 @@ on:
workflow_dispatch:
env:
OSQUERY_VERSION: 5.2.3
OSQUERY_VERSION: 5.3.0
permissions:
contents: read
@@ -44,7 +44,7 @@ jobs:
- name: Download and extract osqueryd for linux
run: |
curl -L https://pkg.osquery.io/linux/osquery-${{ env.OSQUERY_VERSION }}_1.linux_x86_64.tar.gz --output osquery-${{ env.OSQUERY_VERSION }}_1.linux_x86_64.tar.gz
curl -L https://github.com/osquery/osquery/releases/download/${{ env.OSQUERY_VERSION }}/osquery-${{ env.OSQUERY_VERSION }}_1.linux_x86_64.tar.gz --output osquery-${{ env.OSQUERY_VERSION }}_1.linux_x86_64.tar.gz
tar xf osquery-${{ env.OSQUERY_VERSION }}_1.linux_x86_64.tar.gz
chmod +x ./opt/osquery/bin/osqueryd
./opt/osquery/bin/osqueryd --version
@@ -64,7 +64,7 @@ jobs:
- name: Download osquery msi for Windows
shell: bash
run: |
curl -L https://pkg.osquery.io/windows/osquery-${{ env.OSQUERY_VERSION }}.msi --output osquery-${{ env.OSQUERY_VERSION }}.msi
curl -L https://github.com/osquery/osquery/releases/download/${{ env.OSQUERY_VERSION }}/osquery-${{ env.OSQUERY_VERSION }}.msi --output osquery-${{ env.OSQUERY_VERSION }}.msi
- name: Extract osqueryd.exe for Windows
shell: cmd
@@ -76,4 +76,4 @@ jobs:
uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 # v2
with:
name: osqueryd.exe
path: C:\temp\osquery\osqueryd\osqueryd.exe
path: C:\temp\osquery\osqueryd\osqueryd.exe
+1 -1
View File
@@ -294,7 +294,7 @@ ifneq ($(shell uname), Darwin)
@exit 1
endif
$(eval TMP_DIR := $(shell mktemp -d))
curl -L https://pkg.osquery.io/darwin/osquery-$(version).pkg --output $(TMP_DIR)/osquery-$(version).pkg
curl -L https://github.com/osquery/osquery/releases/download/$(version)/osquery-$(version).pkg --output $(TMP_DIR)/osquery-$(version).pkg
pkgutil --expand $(TMP_DIR)/osquery-$(version).pkg $(TMP_DIR)/osquery_pkg_expanded
rm -rf $(TMP_DIR)/osquery_pkg_payload_expanded
mkdir -p $(TMP_DIR)/osquery_pkg_payload_expanded