Skip to content

Commit

Permalink
refactor git guide & add assets compression
Browse files Browse the repository at this point in the history
  • Loading branch information
CuriousCI committed Nov 12, 2024
1 parent 957ef0e commit a885ac2
Show file tree
Hide file tree
Showing 6 changed files with 330 additions and 586 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,15 @@ jobs:
build:
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v4

- uses: typst-community/setup-typst@v3

- run: |
curl -LO https://github.com/microsoft/cascadia-code/releases/download/v2404.23/CascadiaCode-2404.23.zip
unzip CascadiaCode-2404.23.zip -d ~/cascadia-code
sudo cp ~/cascadia-code/otf/static/*.otf /usr/local/share/fonts
sudo fc-cache -f -v
typst compile java-swing-mvc.typ java-swing-mvc.pdf
typst compile git.typ git.pdf
- uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -30,20 +26,10 @@ jobs:
files: |
java-swing-mvc.pdf
git.pdf
- uses: dev-drprasad/[email protected]
with:
keep_latest: 1
delete_tags: true
delete_tag_pattern: latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}


# - uses: softprops/action-gh-release@v1
# if: github.ref_type == 'tag'
# with:
# name: "${{ github.ref_name }} — ${{ env.DATE }}"
# files: |
# java-swing-mvc.pdf
# git.pdf
Binary file added assets/example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/resize.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit a885ac2

Please sign in to comment.