mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-25 21:23:48 +03:00
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
1 changed files with 2 additions and 1 deletions
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
@ -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 a new issue