From 3194bb0c4a841186b0e8349685e89f54461deeb6 Mon Sep 17 00:00:00 2001 From: Tushar Sadhwani Date: Fri, 24 May 2024 02:26:50 +0530 Subject: [PATCH] Use .sh extension --- .github/workflows/build-cross.yml | 18 +++++++++--------- .github/workflows/build.yml | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/build-cross.yml b/.github/workflows/build-cross.yml index 6f92f92..091da6e 100644 --- a/.github/workflows/build-cross.yml +++ b/.github/workflows/build-cross.yml @@ -53,32 +53,32 @@ jobs: # aliens: requires no source ALIENS_NAME="aliens-${{ matrix.target }}.tar.gz" ALIENS_PATH=${PWD}/${ALIENS_NAME} - packaged ./aliens.bin 'pip install pygame' 'python -m pygame.examples.aliens' - tar czf $ALIENS_NAME ./aliens.bin + packaged ./aliens.sh 'pip install pygame' 'python -m pygame.examples.aliens' + tar czf $ALIENS_NAME ./aliens.sh # textual: requires no source TEXTUAL_NAME="textual-${{ matrix.target }}.tar.gz" TEXTUAL_PATH=${PWD}/${TEXTUAL_NAME} - packaged ./textual.bin 'pip install textual' 'python -m textual' - tar czf $TEXTUAL_NAME ./textual.bin + packaged ./textual.sh 'pip install textual' 'python -m textual' + tar czf $TEXTUAL_NAME ./textual.sh # IPython: requires no source IPYTHON_NAME="ipython-${{ matrix.target }}.tar.gz" IPYTHON_PATH=${PWD}/${IPYTHON_NAME} - packaged ./ipython.bin 'pip install ipython' 'ipython' - tar czf $IPYTHON_NAME ./ipython.bin + packaged ./ipython.sh 'pip install ipython' 'ipython' + tar czf $IPYTHON_NAME ./ipython.sh # ./examples/mandelbrot MANDELBROT_NAME="mandelbrot-${{ matrix.target }}.tar.gz" MANDELBROT_PATH=${PWD}/${MANDELBROT_NAME} - packaged ./mandelbrot.bin 'pip install -r requirements.txt' 'python mandelbrot.py' ./example/mandelbrot - tar czf $MANDELBROT_NAME ./mandelbrot.bin + packaged ./mandelbrot.sh 'pip install -r requirements.txt' 'python mandelbrot.py' ./example/mandelbrot + tar czf $MANDELBROT_NAME ./mandelbrot.sh # ./examples/minesweeper MINESWEEPER_NAME="minesweeper-${{ matrix.target }}.tar.gz" MINESWEEPER_PATH=${PWD}/${MINESWEEPER_NAME} packaged ./example/minesweeper - tar czf $MINESWEEPER_NAME ./minesweeper.bin + tar czf $MINESWEEPER_NAME ./minesweeper.sh # Setup output paths for upload echo Setting paths in output diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d20e0e5..562dbc3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -58,32 +58,32 @@ jobs: # aliens: requires no source ALIENS_NAME="aliens-${{ matrix.target }}.tar.gz" ALIENS_PATH=${PWD}/${ALIENS_NAME} - packaged ./aliens.bin 'pip install pygame' 'python -m pygame.examples.aliens' - tar czf $ALIENS_NAME ./aliens.bin + packaged ./aliens.sh 'pip install pygame' 'python -m pygame.examples.aliens' + tar czf $ALIENS_NAME ./aliens.sh # textual: requires no source TEXTUAL_NAME="textual-${{ matrix.target }}.tar.gz" TEXTUAL_PATH=${PWD}/${TEXTUAL_NAME} - packaged ./textual.bin 'pip install textual' 'python -m textual' - tar czf $TEXTUAL_NAME ./textual.bin + packaged ./textual.sh 'pip install textual' 'python -m textual' + tar czf $TEXTUAL_NAME ./textual.sh # IPython: requires no source IPYTHON_NAME="ipython-${{ matrix.target }}.tar.gz" IPYTHON_PATH=${PWD}/${IPYTHON_NAME} - packaged ./ipython.bin 'pip install ipython' 'ipython' - tar czf $IPYTHON_NAME ./ipython.bin + packaged ./ipython.sh 'pip install ipython' 'ipython' + tar czf $IPYTHON_NAME ./ipython.sh # ./examples/mandelbrot MANDELBROT_NAME="mandelbrot-${{ matrix.target }}.tar.gz" MANDELBROT_PATH=${PWD}/${MANDELBROT_NAME} - packaged ./mandelbrot.bin 'pip install -r requirements.txt' 'python mandelbrot.py' ./example/mandelbrot - tar czf $MANDELBROT_NAME ./mandelbrot.bin + packaged ./mandelbrot.sh 'pip install -r requirements.txt' 'python mandelbrot.py' ./example/mandelbrot + tar czf $MANDELBROT_NAME ./mandelbrot.sh # ./examples/minesweeper MINESWEEPER_NAME="minesweeper-${{ matrix.target }}.tar.gz" MINESWEEPER_PATH=${PWD}/${MINESWEEPER_NAME} packaged ./example/minesweeper - tar czf $MINESWEEPER_NAME ./minesweeper.bin + tar czf $MINESWEEPER_NAME ./minesweeper.sh # Setup output paths for upload echo "ALIENS_NAME=${ALIENS_NAME}" >> $GITHUB_OUTPUT