Skip to content

Commit

Permalink
Set up implementation tables and badges for 2023
Browse files Browse the repository at this point in the history
  • Loading branch information
pareronia committed Nov 30, 2023
1 parent 4ccfd1e commit 7e0adda
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Update AoC Badges 2022
name: Update AoC Badges 2023
on:
schedule: # run workflow based on schedule
- cron: '6 5 1-25 12 *' # from the 1. December till 25. December every day at 5:06am (avoid load at full hours)
Expand All @@ -18,7 +18,7 @@ jobs:
with:
userid: ${{ secrets.AOC_USER_ID }} # your user id, see setup on how to obtain
session: ${{ secrets.AOC_SESSION }} # secret containing session code, see setup on how to obtain
year: 2022
year: 2023

# Optional inputs:
#
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/action-aoc-badges.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2 # clones your repo

- uses: joblo2213/aoc-badges-action@v3
with:
userid: ${{ secrets.AOC_USER_ID }} # your user id, see setup on how to obtain
session: ${{ secrets.AOC_SESSION }} # secret containing session code, see setup on how to obtain
year: 2022
starsRegex: '(?<=https:\/\/img\.shields\.io\/badge\/2022%20stars%20⭐-)[0-9]+(?=-yellow)' # Regular expression that finds the content of the stars badge in your file.
daysCompletedRegex: '(?<=https:\/\/img\.shields\.io\/badge\/2022%20days%20completed-)[0-9]+(?=-red)' # Regular expression that finds the content of the days completed badge iun your file.
- uses: actions/checkout@v2 # clones your repo

- uses: joblo2213/aoc-badges-action@v3
with:
Expand Down
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,26 @@
[Advent of Code](https://adventofcode.com)

## 2022
## 2023

![](https://img.shields.io/badge/stars%20⭐-50-yellow)
![](https://img.shields.io/badge/days%20completed-25-red)

<!-- @BEGIN:ImplementationsTable:2023@ -->
| | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| ---| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| python3 | | | | | | | | | | | | | | | | | | | | | | | | | |
| java | | | | | | | | | | | | | | | | | | | | | | | | | |
| bash | | | | | | | | | | | | | | | | | | | | | | | | | |
| c++ | | | | | | | | | | | | | | | | | | | | | | | | | |
| julia | | | | | | | | | | | | | | | | | | | | | | | | | |
| rust | | | | | | | | | | | | | | | | | | | | | | | | | |
<!-- @END:ImplementationsTable:2023@ -->

## 2022

![](https://img.shields.io/badge/2022%20stars%20⭐-50-yellow)
![](https://img.shields.io/badge/2022%20days%20completed-25-red)

![2022 Calendar](doc/aoc2022.jpg "2022 Calendar")

<!-- @BEGIN:ImplementationsTable:2022@ -->
Expand Down

0 comments on commit 7e0adda

Please sign in to comment.