This commit is contained in:
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@@ -13,9 +13,15 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
env:
|
||||||
with:
|
GITHUB_REF: ${{ github.ref }}
|
||||||
fetch-depth: 0
|
TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
REPO: ${{ github.repository }}
|
||||||
|
SERVER_URL: ${{ github.server_url }}
|
||||||
|
run: |
|
||||||
|
TAG="${GITHUB_REF#refs/tags/}"
|
||||||
|
HOST="${SERVER_URL#https://}"
|
||||||
|
git clone --depth 1 --branch "$TAG" "https://x-access-token:${TOKEN}@${HOST}/${REPO}.git" .
|
||||||
|
|
||||||
- name: Build payload
|
- name: Build payload
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user