Update golang.yml
This commit is contained in:
parent
b5982d348d
commit
83321c5910
7
.github/workflows/golang.yml
vendored
7
.github/workflows/golang.yml
vendored
@ -25,10 +25,15 @@ jobs:
|
|||||||
cd wazuh-notify-go
|
cd wazuh-notify-go
|
||||||
go build -v .
|
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
|
- name: Release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.RELEASE_TOKEN }}
|
token: ${{ secrets.RELEASE_TOKEN }}
|
||||||
tag_name: ${{ GITHUB.GITHUB_REF }}
|
tag_name: Golang ${{env.NOW}}
|
||||||
files: |
|
files: |
|
||||||
wazuh-notify-go/wazuh-notify
|
wazuh-notify-go/wazuh-notify
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user