浏览代码

run envsubst as an independent step

Sebastian Stenzel 3 年之前
父节点
当前提交
8dce21ea40
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      .github/workflows/appimage.yml

+ 2 - 1
.github/workflows/appimage.yml

@@ -59,9 +59,10 @@ jobs:
           --no-man-pages
           --strip-debug
           --compress=1
+      - name: Prepare additional launcher
+        run: envsubst '${SEMVER_STR} ${REVISION_NUM}' < dist/linux/launcher-gtk2.properties > launcher-gtk2.properties
       - name: Run jpackage
         run: >
-          envsubst '${SEMVER_STR} ${REVISION_NUM}' < dist/linux/launcher-gtk2.properties > launcher-gtk2.properties
           ${JAVA_HOME}/bin/jpackage
           --verbose
           --type app-image