Skip to content

Commit

Permalink
++
Browse files Browse the repository at this point in the history
  • Loading branch information
bitdivine committed Nov 14, 2023
1 parent 3978872 commit b214835
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/update-ic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:
# Checks for new IC commit weekly
- cron: '30 3 * * MON'
workflow_dispatch:
# Provides an option to run this manually.
# Provides an option to run this manually
ic_ref:
description: "The IC commit or tag to update to."
required: false
push:
branches:
# Runs if there is a change to the development branch for this workflow:
# Runs if there is a change to the development branch for this workflow
- "update-ic"
jobs:
update-ic:
Expand All @@ -30,6 +30,10 @@ jobs:
id: update
run: |
set -euxo pipefail
# Gets didc
echo "$PATH" | tr : "\n"
mkdir -p "$HOME/.local/bin"
curl -Lf https://github.com/dfinity/candid/releases/download/2022-08-09/didc-linux64 | install -m 755 /dev/stdin "$HOME/.local/bin/didc"
# Gets prettier in a minute
npm ci
# Gets candid
Expand Down

0 comments on commit b214835

Please sign in to comment.