Skip to content

fix secret name #94

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 6, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,22 +113,22 @@ jobs:
sudo mkdir -p /var/1C/licenses

# Запись лицензии в файл
echo "${{ secrets.ONEC_LICENCE }}" | sudo tee /var/1C/licenses/licence.lic > /dev/null
echo "${{ secrets.ONEC_LICENSE }}" | sudo tee /var/1C/licenses/licence.lic > /dev/null

# Назначение прав
sudo chmod 777 -R /var/1C/licenses
shell: bash
env:
ONEC_LICENCE: ${{ secrets.ONEC_LICENCE }}
ONEC_LICENSE: ${{ secrets.ONEC_LICENSE }}

- name: Установка лицензии (Windows)
if: startsWith(matrix.os, 'windows')
run: |
mkdir "C:\ProgramData\1C\licenses" -Force
echo $Env:ONEC_LICENCE | Out-File -FilePath "C:\ProgramData\1C\licenses\licence.lic" -Encoding ascii
echo $Env:ONEC_LICENSE | Out-File -FilePath "C:\ProgramData\1C\licenses\licence.lic" -Encoding ascii
shell: pwsh
env:
ONEC_LICENCE: ${{ secrets.ONEC_LICENCE }}
ONEC_LICENSE: ${{ secrets.ONEC_LICENSE }}

- name: Установка gitsync локально
run: opm run install-gitsync
Expand Down
Loading