diff --git a/.github/workflows/publish-install-lua-addon.yml b/.github/workflows/publish-install-lua-addon.yml index d6425f8..ee68078 100644 --- a/.github/workflows/publish-install-lua-addon.yml +++ b/.github/workflows/publish-install-lua-addon.yml @@ -54,6 +54,7 @@ jobs: echo "All checks passed!" publish_action: + needs: test_action uses: ./.github/workflows/_publish-action-release.yml with: action-directory: github-actions/install-lua-addon diff --git a/github-actions/install-lua-addon/src/index.ts b/github-actions/install-lua-addon/src/index.ts index 4fff4f9..2ca523f 100644 --- a/github-actions/install-lua-addon/src/index.ts +++ b/github-actions/install-lua-addon/src/index.ts @@ -27,9 +27,9 @@ async function run() { return; } - // Reference lua-addons relative to the dist directory - // __dirname is dist/, so lua-addons is one level up - const bundledAddonsDir = path.resolve(__dirname, '../lua-addons'); + // Reference lua-addons bundled in dist directory + // __dirname is dist/, lua-addons is bundled alongside + const bundledAddonsDir = path.resolve(__dirname, './lua-addons'); // Verify bundled addons directory exists if (!existsSync(bundledAddonsDir)) {