wow using git to checkout the repo instead of node, what a concept.
This commit is contained in:
parent
fe8c83c30e
commit
fb4dc5270e
1 changed files with 8 additions and 2 deletions
|
@ -19,8 +19,14 @@ jobs:
|
|||
image: ghcr.io/goreleaser/goreleaser:v2.1.0
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
REPO_URL: https://x-access-token:${ GITHUB_TOKEN }@git.hsn.dev/${{ GITHUB_REPOSITORY }}
|
||||
run: |
|
||||
echo "URL: ${{ env.REPO_URL }}"
|
||||
git clone --depth 0 ${{ env.REPO_URL }} ${{ github.workspace }}
|
||||
echo "Repository cloned!"
|
||||
- name: Run goreleaser
|
||||
run: |
|
||||
echo ${{ github.workspace }}
|
||||
goreleaser release
|
||||
goreleaser release
|
||||
|
|
Loading…
Reference in a new issue