Skip to content

Commit

Permalink
Merge branch 'checksums'
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwell-k committed Nov 22, 2023
2 parents fa3d51b + 30eb257 commit 28c1257
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/deno.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Copyright 2023 Keith Maxwell
# SPDX-License-Identifier: CC0-1.0

name: Build
name: Build with deno compile; publish for a tag

on: push # yamllint disable-line rule:truthy

Expand All @@ -22,7 +22,16 @@ jobs:
--allow-run
--allow-net
a4.js
- { uses: actions/upload-artifact@v3, with: { name: a4, path: a4 } }
- run: sha256sum a4 | tee SHA256SUMS
- uses: actions/upload-artifact@v3
with:
name: a4
path: |
a4
SHA256SUMS
- uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with: { files: a4 }
with:
files: |
a4
SHA256SUMS
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/.en.utf-8.add.spl
/SHA256SUMS
/a4
/deno.lock
/index.html
Expand Down
2 changes: 1 addition & 1 deletion a4.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ let input;
let pdf;

program
.version("0.0.4") // also update package.json
.version("0.0.5") // also update package.json
.arguments(`<source.(${extensions})> [destination.pdf]`)
.action((source, destination) => {
input = source;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@maxwell-k/a4",
"version": "0.0.4",
"version": "0.0.5",
"type": "module",
"description": "Create a PDF with puppeteer",
"main": "a4.js",
Expand Down

0 comments on commit 28c1257

Please sign in to comment.