Skip to content

Commit 7d498a8

Browse files
committed
upload-spm
1 parent e229e4d commit 7d498a8

File tree

2 files changed

+8
-126
lines changed

2 files changed

+8
-126
lines changed

.github/workflows/release.yaml

+8-7
Original file line numberDiff line numberDiff line change
@@ -121,15 +121,16 @@ jobs:
121121
runs-on: ubuntu-latest
122122
steps:
123123
- uses: actions/checkout@v2
124-
- name: Download workflow artifacts
125-
uses: actions/download-artifact@v2
126-
- run: npm install tar-fs
127-
- uses: actions/github-script@v6
124+
- uses: actions/download-artifact@v2
125+
- uses: asg017/upload-spm@main
126+
id: upload-spm
128127
with:
128+
name: sqlite-http
129129
github-token: ${{ secrets.GITHUB_TOKEN }}
130-
script: |
131-
const script = require('.github/workflows/upload.js')
132-
await script({github, context})
130+
platforms: |
131+
linux-x86_64: sqlite-http-linux_x86
132+
macos-x86_64: sqlite-http-macos
133+
windows-x86_64: sqlite-http-windows
133134
upload-deno:
134135
name: Upload Deno release assets
135136
needs:

.github/workflows/upload.js

-119
This file was deleted.

0 commit comments

Comments
 (0)