Skip to content

Commit

Permalink
Create builder.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Benji377 authored Jul 18, 2024
1 parent 2cd5bef commit e3e9b35
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/builder.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Create a YaraX binary release

on:
push:
branches:
- main
workflow_dispatch:

jobs:
run-script:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.12'

- name: Install dependencies
run: pip install yara-x

- name: Run script
run: python scripts/builder.py

- name: Create a release draft
id: rules_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
allowUpdates: true
artifacts: rulepirus.yarac
artifactContentType: application/octet-stream
tag: 'v1.0.0'
draft: true
prerelease: false
generateReleaseNotes: true

0 comments on commit e3e9b35

Please sign in to comment.