Skip to content

Commit 97470b1

Browse files
committed
github-actions: create releases instead of uploading artifacts
1 parent c92411f commit 97470b1

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ jobs:
1919
# Alternatively we could require the user to run a script that adds the permissions on first run, but that also feels broken...
2020
run: tar -cvf tutorial.tar ./tutorial/
2121
- name: upload tutorial
22-
# uses: actions/upload-artifact@v4.6.2
23-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
22+
uses: ncipollo/release-action@b7eabc95ff50cbeeedec83973935c8f306dfcd0b
2423
with:
25-
name: tutorial
26-
path: ./tutorial.tar
27-
if-no-files-found: error
24+
artifacts: "tutorial.tar"
25+
if: github.ref == 'refs/heads/main'

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,11 @@ into the quests (many of which are impossible in a fresh clone)…
4646

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

5152
```sh
52-
curl https://nuggit.lohmann.sh/tutorial.zip --output tutorial.zip
53+
cd ~/Downloads
5354
unzip tutorial.zip
5455
tar --extract --file=tutorial.tar
5556
cd tutorial

0 commit comments

Comments
 (0)