Skip to content

Commit

Permalink
Merge pull request #111 from sphinxjp/update-gha
Browse files Browse the repository at this point in the history
GitHub Actions のバージョン更新
  • Loading branch information
shimizukawa authored Jan 23, 2024
2 parents 1220073 + 86cfbd5 commit 20eb0cf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
build-and-upload:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: '0' # to get full commit logs for 'git-set-file-times'
- name: DEBUG INFO github refs
Expand All @@ -19,8 +19,8 @@ jobs:
- name: Get Date
id: get-date
run: |
echo "::set-output name=date::$(/bin/date -u "+%Y%m%d")"
echo "::set-output name=yyyymm::$(/bin/date -u "+%Y%m")"
echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT
echo "yyyymm=$(/bin/date -u "+%Y%m")" >> $GITHUB_OUTPUT
shell: bash
- name: git-set-file-times
# change timestamps with commit time instead of checkout time.
Expand All @@ -29,15 +29,15 @@ jobs:
./.github/git-set-file-times.py
- name: CACHE pip
id: cache-pip
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.cache/pip
~/.local/
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}-${{ steps.get-date.outputs.yyyymm }}
- name: CACHE sphinx build
id: cache-sphinx-build
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: build
key: ${{ runner.os }}-sphinx-build-${{ github.ref }}-${{ steps.get-date.outputs.date }}
Expand Down

0 comments on commit 20eb0cf

Please sign in to comment.