File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -31,19 +31,21 @@ jobs:
3131 shell : pwsh
3232 run : |
3333 if (Test-Path "gradlew") {
34- icacls gradlew /grant:r "$env:USERNAME:(RX)"
34+ # icacls 대신 PowerShell 명령어 사용
35+ $file = Get-Item "gradlew"
36+ $file.Attributes = $file.Attributes -bor [System.IO.FileAttributes]::Normal
3537 }
3638
3739 - name : Build with Gradle
3840 shell : pwsh
3941 run : |
40- ./ gradlew clean build --stacktrace --info
42+ .\ gradlew clean build --stacktrace --info
4143 ls -R build/libs # 빌드 결과 확인
4244
4345 - name : Package Azure Functions
4446 shell : pwsh
4547 run : |
46- ./ gradlew azureFunctionsPackage --stacktrace
48+ .\ gradlew azureFunctionsPackage --stacktrace
4749
4850 - name : Login to Azure
4951 uses : azure/login@v2
5759 with :
5860 app-name : ${{ env.AZURE_FUNCTIONAPP_NAME }}
5961 package : build/azure-functions/${{ env.AZURE_FUNCTIONAPP_NAME }}
60- publish-profile : ${{ secrets.AZURE_PUBLISH_PROFILE }}
62+ publish-profile : ${{ secrets.AZURE_PUBLISH_PROFILE }}
You can’t perform that action at this time.
0 commit comments