-
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (26 loc) · 699 Bytes
/
release.yml
File metadata and controls
32 lines (26 loc) · 699 Bytes
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
name: Release
on:
workflow_dispatch:
inputs:
version:
description: "Version to release (e.g., v0.1.2)"
required: true
type: string
jobs:
prepare:
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: write # For creating branches and PRs
pull-requests: write
steps:
- uses: actions/checkout@v6
with:
ref: main
token: ${{ secrets.PULL_REQUEST_TOKEN }}
- uses: nixbuild/nix-quick-install-action@v34
- name: Run release task
run: |
nix develop -c deno task release ${{ inputs.version }}
env:
GH_TOKEN: ${{ secrets.PULL_REQUEST_TOKEN }}