diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..99ce650 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,33 @@ +name: Create Splunk application package + +on: + push: + branches: + - master + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - name: Checkout master + uses: actions/checkout@v2 + with: + ref: master + + - name: Archive Master Release + uses: juankaram/archive-action@v1.0.0 + with: + args: tar -czvf TA-sentinelone.spl TA-sentinelone + + - name: Save Master Release + uses: xresloader/upload-to-github-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + file: "*.spl" + tags: false + draft: false + branches: "master" + verbose: true