diff --git a/.github/workflows/upload_assets.yml b/.github/workflows/upload_assets.yml deleted file mode 100644 index 8629560..0000000 --- a/.github/workflows/upload_assets.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: Upload Assets - -on: - release: - types: [ published ] - -env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - -jobs: - upload_assets: - name: Create/Upload assets - runs-on: ubuntu-latest - steps: - - name: Set up Git - uses: actions/checkout@v2 - - name: Get beamertheme-pure-minimalistic-demo.pdf - run: wget https://github.com/kai-tub/latex-beamer-pure-minimalistic/wiki/beamertheme-pure-minimalistic-demo.pdf -O beamertheme-pure-minimalistic-demo.pdf - - name: Get release - id: release - uses: bruceadams/get-release@v1.2.0 - - name: Create archives - run: | - mkdir -p beamertheme-pure-minimalistic - cp -r {*.sty,beamertheme-pure-minimalistic-demo.tex,beamertheme-pure-minimalistic-demo.pdf,README.md,LICENSE,demo_bib.bib,logos} beamertheme-pure-minimalistic - zip -r beamertheme-pure-minimalistic.zip beamertheme-pure-minimalistic - tar cfvz beamertheme-pure-minimalistic.tar.gz beamertheme-pure-minimalistic - - name: Upload zip asset - uses: actions/upload-release-asset@v1 - with: - upload_url: ${{ steps.release.outputs.upload_url }} - asset_path: ./beamertheme-pure-minimalistic.zip - asset_name: beamertheme-pure-minimalistic.zip - asset_content_type: application/zip - - name: Upload tar.gz asset - uses: actions/upload-release-asset@v1 - with: - upload_url: ${{ steps.release.outputs.upload_url }} - asset_path: ./beamertheme-pure-minimalistic.tar.gz - asset_name: beamertheme-pure-minimalistic.tar.gz - asset_content_type: application/tar.gz - - name: Upload beamertheme-pure-minimalistic-demo.pdf - uses: actions/upload-release-asset@v1 - with: - upload_url: ${{ steps.release.outputs.upload_url }} - asset_path: ./beamertheme-pure-minimalistic-demo.pdf - asset_name: beamertheme-pure-minimalistic-demo.pdf - asset_content_type: application/pdf