Skip to content

Commit

Permalink
Update Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
iBug committed May 23, 2024
1 parent ab3961a commit 0e1813e
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,15 @@ on:
- pull_request

jobs:

build:
runs-on: ubuntu-latest
env:
NAME: webhook-go
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.20'
uses: actions/setup-go@v5

- name: Build
run: make
Expand All @@ -35,7 +32,7 @@ jobs:

- name: Deploy - Upload Release
if: startsWith(github.ref, 'refs/tags/')
id: upload-release-asset
id: upload-release-asset
uses: csexton/release-asset-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 0e1813e

Please sign in to comment.