-
Notifications
You must be signed in to change notification settings - Fork 66
58 lines (46 loc) · 1.41 KB
/
deno-release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: Deno Release
on:
push:
branches:
- master
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout edgedb-js
uses: actions/checkout@v2
- name: Checkout edgedb-deno
uses: actions/checkout@v2
with:
token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}
repository: edgedb/edgedb-deno
path: packages/deno
- uses: actions/setup-node@v2
with:
node-version: "20"
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Install dev deps
run: |
yarn
- name: Get version from package.json
id: package-version
uses: martinbeentjes/[email protected]
with:
path: packages/driver
- name: Write version to file
run: |
echo "${{ steps.package-version.outputs.current-version }}"
# Uncomment to trigger edgedb-deno releases
# - name: Write version to file
# run: |
# echo "${{ steps.package-version.outputs.current-version }}"
# echo "${{ steps.package-version.outputs.current-version}}" > packages/deno/version.txt
- name: Compile for Deno
run: |
yarn workspace edgedb build:deno
yarn workspace @edgedb/generate build:deno
- name: Push to edgedb-deno
run: ./.github/workflows/push-edgedb-deno.sh
shell: bash