Skip to content

Commit

Permalink
Fix cd
Browse files Browse the repository at this point in the history
  • Loading branch information
letelete committed Dec 8, 2024
1 parent 5dbccc1 commit b6d1e69
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/update-year-readme.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Update year README.md file
name: Update README.md file

run-name: Year $(date +'%Y')

on:
push:
Expand All @@ -8,17 +10,18 @@ on:
jobs:
update-year-readme:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./.github/scripts
steps:
- uses: actions/checkout@v4
- name: Get current year
id: get-year
run: echo "::set-output name=year::$(date +'%Y')"
- run: chmod +x ./update-year-readme.sh
working-directory: ./.github/scripts
- run: chmod +x ./parse-year.sh
working-directory: ./.github/scripts
- run: chmod +x ./update-parse-day-benchmark.sh
working-directory: ./.github/scripts
- name: Update year ${{ steps.get-year.outputs.year }} README.md
run: ./update-year-readme.sh ${{ steps.get-year.outputs.year }}
working-directory: ./.github/scripts
shell: bash

0 comments on commit b6d1e69

Please sign in to comment.