Skip to content

Commit

Permalink
fix: use go build for report
Browse files Browse the repository at this point in the history
Signed-off-by: Felipe Zipitria <[email protected]>
  • Loading branch information
fzipi committed May 20, 2024
1 parent 207bd82 commit 082d7fa
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions .github/workflows/scheduled_job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
NUCLEI_VERSION: '3.2.5'
POETRY_VERSION: '1.8.2'

jobs:
project-runner:
Expand Down Expand Up @@ -48,7 +47,32 @@ jobs:
with:
name: output
path: output.zip


process-artifacts:
name: Generate report
runs-on: ubuntu-latest
needs: [project-runner]
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22.3'
cache: 'go-build'

- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: output
path: output

- name: Build report
run: |
go build
./project-seaweed -o output
# success:
# name: Send success notification
# runs-on: ubuntu-latest
Expand Down

0 comments on commit 082d7fa

Please sign in to comment.