fleet/.github/workflows/generate-osqueryd-app-tar-gz.yml
dependabot[bot] 83ffcc4b7d
Bump actions/upload-artifact from 2.3.1 to 3 (#4637)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2.3.1 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](82c141cc51...6673cd052c)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-18 19:09:17 -07:00

37 lines
970 B
YAML

name: Generate osqueryd.app.tar.gz for Orbit
on:
push:
branches:
- main
paths:
# The workflow can be triggered by modifying OSQUERY_VERSION env.
- '.github/workflows/generate-osqueryd-app-tar-gz.yml'
pull_request:
paths:
# The workflow can be triggered by modifying OSQUERY_VERSION env.
- '.github/workflows/generate-osqueryd-app-tar-gz.yml'
workflow_dispatch:
env:
OSQUERY_VERSION: 5.2.2
permissions:
contents: read
jobs:
generate:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 # v2
- name: Generate osqueryd.app.tar.gz
run: |
make osqueryd-app-tar-gz out-path=. version=$OSQUERY_VERSION
- name: Upload osqueryd.app.tar.gz
uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 # v2
with:
name: osqueryd.app.tar.gz
path: osqueryd.app.tar.gz