Skip to content

Commit

Permalink
add needed vars for bintray/virustotal scripts (#586)
Browse files Browse the repository at this point in the history
  • Loading branch information
suz-stripe authored Jan 30, 2021
1 parent 6f44102 commit 1d6be81
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
name: do_release
name: publish_release

on:
push:
tags:
- '*'
- 'v*'

jobs:
goreleaser:
if: ${{ github.ref == 'refs/heads/master' }}
runs-on: ubuntu-latest
steps:
-
name: Code Checkout
name: Code checkout
uses: actions/checkout@v2
-
name: Run goreleaser
Expand All @@ -28,12 +29,14 @@ jobs:
scripts/publish-rpm-to-bintray.sh
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}
BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
BINTRAY_API_KEY: ${{ secrets.BINTRAY_API_KEY }}
-
name: Upload to VirusTotal
run: scripts/upload-zip-to-virustotal.sh
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}
VIRUSTOTAL_API_KEY: ${{ secrets.VIRUSTOTAL_API_KEY }}

0 comments on commit 1d6be81

Please sign in to comment.