Update golang.yml

This commit is contained in:
DariusKlein 2024-06-10 15:47:19 +02:00 committed by GitHub
parent b5982d348d
commit 83321c5910
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,10 +25,15 @@ jobs:
cd wazuh-notify-go
go build -v .
- name: Put current date into a variable
run: |
$NOW=& Get-Date -format yyyy-MM-dd
echo "NOW=$NOW" >> $env:GITHUB_ENV
- name: Release
uses: softprops/action-gh-release@v2
with:
token: ${{ secrets.RELEASE_TOKEN }}
tag_name: ${{ GITHUB.GITHUB_REF }}
tag_name: Golang ${{env.NOW}}
files: |
wazuh-notify-go/wazuh-notify