mirror of
https://github.com/unraid/api.git
synced 2026-01-07 00:59:48 -06:00
feat: mount git folder to builder
This commit is contained in:
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -68,7 +68,7 @@ jobs:
|
||||
- name: Build inside of the docker container
|
||||
id: build-pack-binary
|
||||
run: |
|
||||
docker run --rm -v ${{ github.workspace }}/api/deploy/release:/app/deploy/release builder npm run build-and-pack
|
||||
docker run --rm -v ${{ github.workspace }}/api/deploy/release:/app/deploy/release -v ${{ github.workspace}}/.git:/app/.git builder npm run build-and-pack
|
||||
API_VERSION=$(cat package.json | jq -r '.version')
|
||||
echo "::set-output name=API_VERSION::${API_VERSION}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user