From 892342efff4414e1f4c6041a65c0d915950fb308 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EB=B0=B1=EC=A2=85=EB=AF=BC/Tizen=20Platform=20Lab=28SR=29/?= =?utf8?q?=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Wed, 5 Jul 2023 13:47:18 +0900 Subject: [PATCH] replace hard coded variable to github secrets 1. replaced to P4PORT, P4USER 2. remove disabled code about binfmt_misc --- .github/workflows/gbs-build-p4.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/gbs-build-p4.yml b/.github/workflows/gbs-build-p4.yml index f2e65ca..f37c2a7 100644 --- a/.github/workflows/gbs-build-p4.yml +++ b/.github/workflows/gbs-build-p4.yml @@ -34,24 +34,16 @@ jobs: uses: code-actions/perforce-setup-p4@v1 with: command: login - global_options: '-p 10.40.78.156:1888 -u jm0829.baek' + global_options: '-p ${{ secrets.P4PORT }} -u ${{ secrets.P4USER }}' # pull down assets from Helix Core - name: p4 sync TrackRenderer uses: code-actions/perforce-setup-p4@v1 env: - P4CLIENT: DEV-TZTV-GithubAction-jm0829.baek + P4CLIENT: DEV-TZTV-GithubAction-${{ secrets.P4USER }} with: command: sync arguments: -f - -# - name: Check binfmt_misc -# run: | -# ls -al /proc/sys/fs/binfmt_misc/ - -# - name: Switching off default binfmt_misc handlers -# run: | -# find /proc/sys/fs/binfmt_misc/ -not -name status -not -name register -type f -exec sh -c "echo -1 | sudo tee {}" \; - name: Build TrackRenderer run: | -- 2.7.4