Skip to content

Commit

Permalink
! CI: replace "add archive to build output" with "create release"
Browse files Browse the repository at this point in the history
It's easier to find the releases than the output of a github action.

closes #30
  • Loading branch information
BacLuc committed Feb 4, 2022
1 parent a8b435c commit c444c80
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/document-compilation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,9 @@ jobs:
cmake -S . -B build -DJS_WITH_CODE=OFF
cmake --build build
- name: create zip archive
run: |
cmake --build build --target jumpstart_archive
- name: add archive to build output
uses: actions/upload-artifact@v2
- name: create release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
path: build/topics/jumpstart.zip
files: |
build/topics/jumpstart.zip
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jumpstart-docs
Die SCS Jumpstart-Kurse bieten einen effizienten Einstieg in den praktischen Alltag eines Entwicklers.

Dieses Repo beinhaltet unter [Topics](topics) alle Unterlagen der unterschiedlichen Kurse.
Die generierten PDFs und den Code können als Artefakt der Github Actions heruntergeladen werden:
[Github action runs](https://github.com/scs/jumpstart-docs/actions?query=workflow%3Acompilation+branch%3Amain+)
Die generierten PDFs und der Code können als Artefakt des Releases heruntergeladen werden:
[Latest release](https://github.com/scs/jumpstart-docs/releases/latest)

Die benötigten Tools und Accounts um am Kurs teilzunehmen sind unter
[Vorbereitung](topics/admin/introduction.md#vorbereitung) aufgelistet.
Expand Down

0 comments on commit c444c80

Please sign in to comment.