diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 92efa24..db44241 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -21,11 +21,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v2 with: languages: ${{ matrix.language }} # languages: go, javascript, csharp, python, cpp, java @@ -33,7 +33,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v1 + uses: github/codeql-action/autobuild@v2 # ℹī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -47,4 +47,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v2 diff --git a/.github/workflows/licensed.yml b/.github/workflows/licensed.yml index c498bbd..5266ccd 100644 --- a/.github/workflows/licensed.yml +++ b/.github/workflows/licensed.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest name: Check licenses steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: npm ci - name: Install licensed run: | diff --git a/.github/workflows/test-setup-spark.yml b/.github/workflows/test-setup-spark.yml index 23c9924..aeddedd 100644 --- a/.github/workflows/test-setup-spark.yml +++ b/.github/workflows/test-setup-spark.yml @@ -36,7 +36,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set Node.js 16 uses: actions/setup-node@v3 @@ -75,7 +75,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set Node.js 16 uses: actions/setup-node@v3 diff --git a/src/setup-spark.ts b/src/setup-spark.ts index 67924fa..d787964 100644 --- a/src/setup-spark.ts +++ b/src/setup-spark.ts @@ -68,6 +68,7 @@ try { core.exportVariable('PYSPARK_DRIVER_PYTHON', PYSPARK_PYTHON); core.exportVariable('PYTHONPATH', PYTHONPATH); core.exportVariable('SPARK_OPTS', SPARK_OPTS); + core.exportVariable('GITHUB_OUTPUT', GITHUB_OUTPUT); // Add Spark to path core.addPath(`${sparkHome}/bin`);