浏览代码

use absolute path in workflow

Armin Schrenk 2 年之前
父节点
当前提交
94b3ea37d6
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      .github/workflows/mac-dmg.yml
  2. 2 2
      .github/workflows/win-exe.yml

+ 1 - 1
.github/workflows/mac-dmg.yml

@@ -111,7 +111,7 @@ jobs:
           -Dlicense.includedScopes=compile
           -Dlicense.excludedGroups=^org\.cryptomator
           -Dlicense.failOnMissing=true
-          -Dlicense.licenseMergesUrl=file:///license/merges
+          -Dlicense.licenseMergesUrl=file:///${{ env.GITHUB_WORKSPACE }}/license/merges
       - name: Install codesign certificate
         run: |
           # create variables

+ 2 - 2
.github/workflows/win-exe.yml

@@ -124,7 +124,7 @@ jobs:
           -Dlicense.includedScopes=compile
           -Dlicense.excludedGroups=^org\.cryptomator
           -Dlicense.failOnMissing=true
-          -Dlicense.licenseMergesUrl=file:///license/merges
+          -Dlicense.licenseMergesUrl=file:///${{ env.GITHUB_WORKSPACE }}/license/merges
       - name: Create MSI
         run: >
           ${JAVA_HOME}/bin/jpackage
@@ -214,7 +214,7 @@ jobs:
           -Dlicense.includedScopes=compile
           -Dlicense.excludedGroups=^org\.cryptomator
           -Dlicense.failOnMissing=true
-          -Dlicense.licenseMergesUrl=file:///license/merges
+          -Dlicense.licenseMergesUrl=file:///${{ env.GITHUB_WORKSPACE }}/license/merges
       - name: Download WinFsp
         run:
           curl --output dist/win/bundle/resources/winfsp.msi -L ${{ env.WINFSP_MSI }}