mirror of
https://github.com/felixfoertsch/Bachelorarbeit.git
synced 2026-04-26 03:20:51 +02:00
Cleaning up the commit history
This is a test, if it is possible to clean up the commit history. I am using this chance, to properly write commit messages and try using the GitHub issue system.
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
# Workflow Version: v7
|
||||
name: Build PDF-Snapshot
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- v*
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set up Git repository
|
||||
uses: actions/checkout@v1
|
||||
- name: Compile LaTeX document
|
||||
uses: dante-ev/latex-action@master
|
||||
with:
|
||||
args: -xelatex -latexoption=-file-line-error -latexoption=-interaction=nonstopmode
|
||||
root_file: main.tex
|
||||
working_directory: Work/
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ github.ref }}
|
||||
release_name: Release ${{ github.ref }}
|
||||
body: |
|
||||
Changes in this Release
|
||||
- First Change
|
||||
- Second Change
|
||||
draft: false
|
||||
prerelease: false
|
||||
- name: Upload Artifact
|
||||
id: upload-release-asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
|
||||
asset_path: Work/main.pdf
|
||||
asset_name: main.pdf
|
||||
asset_content_type: application/pdf
|
||||
Reference in New Issue
Block a user