This commit is contained in:
parent
b9761d40dc
commit
03dcb696d5
1 changed files with 2 additions and 1 deletions
|
@ -21,13 +21,14 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
REPO_URL: https://x-access-token:${GITHUB_TOKEN}@git.hsn.dev/${{ github.repository }}/src/tag/${GITHUB_REF_NAME}
|
REPO_URL: https://x-access-token:${GITHUB_TOKEN}@git.hsn.dev/${{ github.repository }}
|
||||||
run: |
|
run: |
|
||||||
printenv
|
printenv
|
||||||
mkdir -p ${{ github.workspace }}
|
mkdir -p ${{ github.workspace }}
|
||||||
echo "URL: ${{ env.REPO_URL }}"
|
echo "URL: ${{ env.REPO_URL }}"
|
||||||
git clone ${{ env.REPO_URL }} ${{ github.workspace }}
|
git clone ${{ env.REPO_URL }} ${{ github.workspace }}
|
||||||
echo "Repository cloned!"
|
echo "Repository cloned!"
|
||||||
|
git checkout ${GITHUB_REF_NAME}
|
||||||
- name: Run goreleaser
|
- name: Run goreleaser
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ""
|
GITHUB_TOKEN: ""
|
||||||
|
|
Loading…
Reference in a new issue