Skip to content

Commit

Permalink
Build fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
kovacsv committed Jul 9, 2023
1 parent 749af66 commit b84ff2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/archicad_addon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
os-type: [windows-2019]
os-type: [windows-2022]
configuration: [Debug, RelWithDebInfo]

steps:
Expand Down
5 changes: 2 additions & 3 deletions archicad-addon/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ def Main ():
args = parser.parse_args ()

currentPath = os.path.dirname (os.path.abspath (__file__))
rootFolder = os.path.dirname (currentPath)
os.chdir (rootFolder)
os.chdir (currentPath)

isWindows = (platform.system () == 'Windows')

Expand All @@ -23,7 +22,7 @@ def Main ():
subprocess.call (['conan', 'profile', 'update', 'settings.compiler.version=13', 'default'])
subprocess.call (['conan', 'install', 'archicad-apidevkit/{0}@'.format (args.acVersion)])

infoJsonPath = os.path.join ('Build', 'conan_info.json')
infoJsonPath = os.path.join ('Build', 'conan_info_ac{0}.json').format (args.acVersion)
subprocess.call (['conan', 'info', '--paths', '-j', infoJsonPath, 'archicad-apidevkit/{0}@'.format (args.acVersion)])

infoJson = None
Expand Down

0 comments on commit b84ff2d

Please sign in to comment.