Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 0 additions & 27 deletions .github/workflows/build.yml

This file was deleted.

26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Releases

on:
push:
tags:
- '*'

jobs:

build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
- 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/
- uses: ncipollo/release-action@b7eabc95ff50cbeeedec83973935c8f306dfcd0b
with:
artifacts: "tutorial.tar"
artifactErrorsFailBuild: true
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,11 @@ into the quests (many of which are impossible in a fresh clone)…

Alternatively: If you don't want to run this "build"-script yourself (it
basically just executes a bunch of git commands to create the folder "tutorial"
and fills it with all the information you need), you can download it:
and fills it with all the information you need), you can download it from the
release page: https://github.com/miallo/nuggit/releases

```sh
curl https://nuggit.lohmann.sh/tutorial.zip --output tutorial.zip
cd ~/Downloads
unzip tutorial.zip
tar --extract --file=tutorial.tar
cd tutorial
Expand Down