diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a61435a..daa81e9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,9 +18,9 @@ jobs: - run: sudo dpkg -i pandoc-3.1.7-1-amd64.deb - run: echo $PWD - run: ls -al ./ - - run: ls -al ../ - - run: sed -i 's/VERSIONNUMBER/${{ github.ref_name }}/g' ScratchWorksheets/SaveAndLoad.tex - - run: pdflatex -jobname=SaveAndLoad-${{ github.ref_name }} ScratchWorksheets/SaveAndLoad.tex + - run: cd ScratchWorksheets/ + - run: sed -i 's/VERSIONNUMBER/${{ github.ref_name }}/g' SaveAndLoad.tex + - run: pdflatex -jobname=SaveAndLoad-${{ github.ref_name }} SaveAndLoad.tex - run: ls -al . - run: pandoc --standalone --self-contained --embed-resources --from markdown --output=Overview-${{ github.ref_name }}.pdf README.md - run: pandoc --standalone --self-contained --embed-resources --from markdown --output=LetsMakeNametags-${{ github.ref_name }}.pdf makeNametags.md @@ -51,8 +51,8 @@ jobs: GITHUB_TOKEN: ${{ github.token }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: SaveAndLoad-${{ github.ref_name }}.pdf - asset_name: SaveAndLoad-${{ github.ref_name }}.pdf + asset_path: ScratchWorksheets/SaveAndLoad-${{ github.ref_name }}.pdf + asset_name: ScratchWorksheets/SaveAndLoad-${{ github.ref_name }}.pdf asset_content_type: application/binary - name: Upload PDF2 uses: actions/upload-release-asset@v1