Skip to content

Commit 962cd4e

Browse files
Clean up CI
1 parent 2498063 commit 962cd4e

File tree

2 files changed

+4
-33
lines changed

2 files changed

+4
-33
lines changed

Diff for: .github/workflows/netlify_deploy_preview.yml

+2-33
Original file line numberDiff line numberDiff line change
@@ -32,44 +32,13 @@ jobs:
3232
description: Deploying site to Netlify. Please wait...
3333
state: pending
3434
- run: rm -rf docs
35-
# - name: 'Download artifacts'
36-
# uses: actions/download-artifact@v4
37-
# with:
38-
# name: "build-${{ steps.source-run-info.outputs.sourceHeadSha }}"
39-
# path: docs/
4035
- name: 'Download artifacts'
4136
uses: dawidd6/action-download-artifact@v2
4237
with:
4338
github_token: ${{secrets.GITHUB_TOKEN}}
4439
workflow: netlify_build_docs.yml # Name of the workflow that created the artifact
45-
name: "build-${{ steps.source-run-info.outputs.sourceHeadSha }}" # Name of the artifact
46-
path: docs/ # Optional path to extract to
47-
# - name: 'Download artifact'
48-
# uses: actions/[email protected]
49-
# with:
50-
# script: |
51-
# var artifacts = await github.actions.listWorkflowRunArtifacts({
52-
# owner: context.repo.owner,
53-
# repo: context.repo.repo,
54-
# run_id: ${{github.event.workflow_run.id }},
55-
# });
56-
# console.log("Target artifact: " + "build-${{ steps.source-run-info.outputs.sourceHeadSha }}")
57-
# var matchArtifact = artifacts.data.artifacts.filter((artifact) => {
58-
# console.log("Found artifacts: " + artifact.name)
59-
# return artifact.name == "build-${{ steps.source-run-info.outputs.sourceHeadSha }}"
60-
# })[0];
61-
# if (matchArtifact == undefined) {
62-
# core.setFailed('Artifact not found!');
63-
# }
64-
# var download = await github.actions.downloadArtifact({
65-
# owner: context.repo.owner,
66-
# repo: context.repo.repo,
67-
# artifact_id: matchArtifact.id,
68-
# archive_format: 'zip',
69-
# });
70-
# var fs = require('fs');
71-
# fs.writeFileSync('${{github.workspace}}/docs.zip', Buffer.from(download.data));
72-
#- run: unzip -d docs/ docs.zip
40+
name: "build-${{ steps.source-run-info.outputs.sourceHeadSha }}" # Name of the artifact
41+
path: docs/
7342
- run: echo Deploy Alias = ${{ env.GITHUB_SHA_SHORT }}
7443
- uses: jsmrcaga/action-netlify-deploy@master
7544
with:

Diff for: docsrc/interactivity.nim

+2
Original file line numberDiff line numberDiff line change
@@ -303,3 +303,5 @@ There are many differences worth noticing, like use embedding of `fmt`'s `{}` to
303303
There is **one other note for users of happyX**. The event handlers beginning in `@` must be called unambiguously. The more normal block declaration with `:` will not work in the current commit. HappyX does some massaging with its macros to make the syntax work in either case but plain Nim doesn't recognize `@click: <do stuff>` as a call. The best strategy for resolving the inconsistency hasn't been decided yet, and a potential refactor as happyX continues development may resolve it spontaneously.
304304
"""
305305
nbSave
306+
307+

0 commit comments

Comments
 (0)