This commit is contained in:
Anton-4 2022-12-26 16:53:30 +01:00
parent 366111cf31
commit 83ef20dc1a
No known key found for this signature in database
GPG Key ID: 0971D718C0A9B937
2 changed files with 2 additions and 8 deletions

View File

@ -122,13 +122,7 @@ jobs:
- run: ./roc build --bundle=.tar.br ./basic-cli/src/main.roc
- run: ls
- run: ls basic-cli
- run: ls basic-cli/src
- run: echo "TAR_FILENAME=$(ls | grep '.tar.br')" >> $GITHUB_ENV
- run: echo "TAR_FILENAME=$(ls -d basic-cli/src/* | grep '.tar.br')" >> $GITHUB_ENV
- name: Upload platform archive
uses: actions/upload-artifact@v3

View File

@ -21,7 +21,7 @@ ls | grep "roc_nightly.*tar\.gz" | xargs tar -xzvf
EXTRA_ARGS=${2:-}
# In some rare cases it's nice to be able to use the legacy linker, so we produce the .o file to be able to do that
if [ ! -z ${EXTRA_ARGS} ];
if [ -n "${EXTRA_ARGS}" ];
then ./roc build $EXTRA_ARGS ../basic-cli/examples/file.roc
fi