Skip to content

Commit

Permalink
Support deno 2 githubactions
Browse files Browse the repository at this point in the history
Signed-off-by: Marcos Candeia <[email protected]>
  • Loading branch information
mcandeia committed Oct 15, 2024
1 parent 41dc277 commit ba1f544
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
path: |
/home/runner/.deno
/home/runner/.cache/deno/deps/https/deno.land
- uses: denoland/setup-deno@v1
- uses: denoland/setup-deno@v2
with:
deno-version: v1.x
deno-version: v2.x
- name: Build Deno Module
run: deno run -A --lock=deno.lock --lock-write --reload mod.ts
- name: fetch any uncached dependencies
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,14 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Publish package
run: deno publish
run: npx jsr publish

- name: Publish script package
run: cd scripts/ && deno publish
run: cd scripts/ && npx jsr publish

- name: Publish dev package
run: cd dev/ && deno publish
run: cd dev/ && npx jsr publish

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
Expand Down Expand Up @@ -105,4 +102,4 @@ jobs:
if [ -n "$LATEST" ]; then
echo "::set-output name=image_builder_latest::$REGISTRY/$REPOSITORY:$IMAGE_TAG_LATEST"
fi
echo "::set-output name=image_builder_commit::$REGISTRY/$REPOSITORY:$IMAGE_TAG_COMMIT"
echo "::set-output name=image_builder_commit::$REGISTRY/$REPOSITORY:$IMAGE_TAG_COMMIT"

0 comments on commit ba1f544

Please sign in to comment.