mirror of https://github.com/caddyserver/caddy.git
ci: use commit sha in goreleaser-check (#6677)
* ci: use commit sha in goreleaser-check Signed-off-by: Mohammed Al Sahaf <msaa1990@gmail.com> * fix output assignment Signed-off-by: Mohammed Al Sahaf <msaa1990@gmail.com> * run only on non-fork or caddyserver repo, and use branch name Signed-off-by: Mohammed Al Sahaf <msaa1990@gmail.com> --------- Signed-off-by: Mohammed Al Sahaf <msaa1990@gmail.com>
This commit is contained in:
parent
da88ec152c
commit
b285763969
|
@ -194,6 +194,7 @@ jobs:
|
|||
|
||||
goreleaser-check:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository_owner == 'caddyserver' && github.actor != 'dependabot[bot]'
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
@ -216,4 +217,4 @@ jobs:
|
|||
version: latest
|
||||
args: build --single-target --snapshot
|
||||
env:
|
||||
TAG: "master"
|
||||
TAG: ${{ github.head_ref || github.ref_name }}
|
||||
|
|
Loading…
Reference in New Issue