Skip to content

lib: move store_nuggits into a function instead of a script #10

lib: move store_nuggits into a function instead of a script

lib: move store_nuggits into a function instead of a script #10

Workflow file for this run

name: Build
on:
push:
branches:
- main
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: build
run: ./build.sh --verbose
- name: create tarball
# GitHub removes file permissions, but we need them to be there
# https://github.com/actions/upload-artifact/blob/cf8714cfeaba5687a442b9bcb85b29e23f468dfa/README.md#permission-loss
# Alternatively we could require the user to run a script that adds the permissions on first run, but that also feels broken...
run: tar -cvf tutorial.tar ./tutorial/
- name: upload tutorial
uses: actions/upload-artifact@v4
with:
name: tutorial
path: ./tutorial.tar
if-no-files-found: error