Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Git short hash (commit hash) to archive filenames #47

Closed
wants to merge 8 commits into from
Closed
Prev Previous commit
Next Next commit
test the build and release workflow
Signed-off-by: Eti Ijeoma <[email protected]>
Aijeyomah committed Oct 11, 2024
commit 33c2b73d069d576f1159486b45ff43e2d87d17a0
14 changes: 8 additions & 6 deletions .github/workflows/build-and-release-snapshot-plugin.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
name: Kanvas Snapshot Build & Release
permissions:
contents: write
actions: read


on:
release:
types: [published]
pull_request:
branches:
- master

workflow_dispatch:

# Permissions block to ensure the workflow has the right access
permissions:
contents: write # Required to create and update releases, upload assets
actions: read # Allows the workflow to read action metadata

jobs:
release:
if: |
@@ -31,7 +33,7 @@ jobs:
with:
go-version: "1.21"

- name: golangci-lint
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.59