Исправление получения имени репозитория
Some checks failed
Build / Build project (push) Failing after 1m15s
Some checks failed
Build / Build project (push) Failing after 1m15s
This commit is contained in:
parent
de6938d4c6
commit
819545bdf4
1 changed files with 3 additions and 1 deletions
|
@ -15,10 +15,12 @@ jobs:
|
||||||
sudo solbuild build
|
sudo solbuild build
|
||||||
- name: Copy to NFS
|
- name: Copy to NFS
|
||||||
run: |
|
run: |
|
||||||
|
REPO_FULL=${{ env.GITHUB_REPOSITORY }}
|
||||||
|
REPO=$(echo $REPO_FULL | cut -d'/' -f2)
|
||||||
sudo ctn-tool \
|
sudo ctn-tool \
|
||||||
--source-dir ./ \
|
--source-dir ./ \
|
||||||
--nfs-address ${{ env.NFS_ADDRESS }} \
|
--nfs-address ${{ env.NFS_ADDRESS }} \
|
||||||
--nfs-port ${{ env.NFS_PORT }} \
|
--nfs-port ${{ env.NFS_PORT }} \
|
||||||
--nfs-path / \
|
--nfs-path / \
|
||||||
--gpg-key ${{ env.GPG_KEY }} \
|
--gpg-key ${{ env.GPG_KEY }} \
|
||||||
--project-name ${${{ env.GITHUB_REPOSITORY }}##*/}
|
--project-name $REPO
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue