vemonet / setup-spark

:octocat:✨ Setup Apache Spark in GitHub Action workflows
https://github.com/marketplace/actions/setup-apache-spark
MIT License
20 stars 11 forks source link

split download set of commands into download and unarchive #20

Closed r-t-m closed 1 year ago

r-t-m commented 1 year ago

This allows to ues github actions for caching like so:

name: Caching

on: push

jobs:
  run:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v3

    - uses: actions/cache@v3
      with:
        path: /tmp/spark.tgz
        key: ${{ runner.os }}-spark

    - uses: vemonet/setup-spark@v1
      with:
        spark-version: 3.3.2
        hadoop-version: 3
r-t-m commented 1 year ago

@vemonet could you please review?