Skip to content

Commit

Permalink
Update actions to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
RiccardoBuscicchio authored Dec 15, 2024
1 parent 4abfb20 commit c6f352c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@latest

- name: Cache Conda environment
uses: actions/cache@v2
uses: actions/cache@latest
with:
path: |
${{ env.HOME }}/.conda/pkgs/
Expand All @@ -31,7 +31,7 @@ jobs:
conda-${{ runner.os }}-
- name: Set up conda
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@latest
with:
activate-environment: buildcv
environment-file: environment.yml
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
mv preamble.tex CV.tex metricspapers.tex parsepapers.tex parsetalks.tex publist.tex talklist.tex CVshort.tex pdfs/
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@latest
with:
name: artifacts
path: pdfs/
Expand Down Expand Up @@ -121,18 +121,18 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@latest

- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@latest
with:
path: pdfs

- name: move
run: mkdir -p github_deploy && mv pdfs/*/* github_deploy

- name: deploy on orphan branch
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@latest
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./github_deploy
Expand Down

0 comments on commit c6f352c

Please sign in to comment.