chapter diff: explain diff a little better #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |