Skip to content

Commit 17cc1d0

Browse files
committed
fix: workflows fix
1 parent 244ae7f commit 17cc1d0

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/main_optimo-user.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff 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
@@ -57,4 +59,4 @@ jobs:
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 }}

0 commit comments

Comments
 (0)