From 3cec26722978a6c768231651bfb23046b5ce633d Mon Sep 17 00:00:00 2001 From: Martin Schaef Date: Sun, 26 Apr 2020 13:52:48 -0400 Subject: [PATCH] use different upload action --- .github/workflows/compile_and_upload.yml | 26 ++++++++---------------- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/.github/workflows/compile_and_upload.yml b/.github/workflows/compile_and_upload.yml index a311a7b..8c095f3 100644 --- a/.github/workflows/compile_and_upload.yml +++ b/.github/workflows/compile_and_upload.yml @@ -11,23 +11,15 @@ jobs: with: root_file: document.tex args: "-xelatex -file-line-error -interaction=nonstopmode" - - 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 }} - draft: false - prerelease: false - - name: Upload to relase - uses: actions/upload-release-asset@v1 + - uses: meeDamian/github-release@2.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - id: upload-release-asset with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./document.pdf - asset_name: cv-schaef.pdf - asset_content_type: application/pdf + token: ${{ secrets.GITHUB_TOKEN }} + tag: "resume" + name: CV Schaef + body: > + Auto release by github actions + allow_override: true + files: > + document.pdf