Skip to content

Commit

Permalink
ci: remove templates/*cls.
Browse files Browse the repository at this point in the history
  • Loading branch information
fky2015 committed Jul 13, 2023
1 parent d77f47f commit ac5463c
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,34 @@ jobs:
strategy:
matrix:
template: [graduate-thesis, undergraduate-thesis, lab-report, paper-translation, presentation-slide, undergraduate-thesis-en]
include:
- template: graduate-thesis
cls: bithesis
- template: undergraduate-thesis
cls: bithesis
- template: lab-report
cls: bitreport
- template: paper-translation
cls: bithesis
- template: presentation-slide
cls: bitbeamer
- template: undergraduate-thesis-en
cls: bithesis

steps:
- uses: actions/checkout@v2
- name: Download bithesis.pdf
uses: actions/download-artifact@v3
with:
name: bithesis
- name: Download `*.cls`
uses: actions/download-artifact@v3
with:
name: cls
- name: Copy manual to the template folder.
run: cp bithesis.pdf ./templates/${{ matrix.template }}
run: |
mv bithesis.pdf ./templates/${{ matrix.template }}
mv ${{ matrix.cls }}.cls ./templates/${{ matrix.template }}
- name: Install zip
uses: montudor/action-zip@v1
- name: Zip files under ./${{ matrix.template }}
Expand All @@ -59,7 +78,7 @@ jobs:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ./templates/${{ matrix.template }}.zip
asset_name: ${{ matrix.template }}.zip
tag: ${{ github.ref }}
tag: ${{ github.ref }}


publish_cls:
Expand Down

0 comments on commit ac5463c

Please sign in to comment.