-
Notifications
You must be signed in to change notification settings - Fork 10
37 lines (35 loc) · 1 KB
/
release.yaml
File metadata and controls
37 lines (35 loc) · 1 KB
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
name: Create release
on:
workflow_dispatch:
inputs:
version:
description: 'Version number (optional)'
required: false
default: ''
run_id:
description: 'GitHub Actions Run ID (optional)'
required: false
default: ''
jobs:
create-release:
if: github.repository == 'DIRACGrid/DIRACOS2'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: prefix-dev/setup-pixi@v0.9.5
with:
cache: true
environments: release
- name: Create release
run: |
pixi run -e release release-notes \
--token="${{ secrets.GH_TOKEN }}" \
--run-id="${{ github.event.inputs.run_id }}" \
--version="${{ github.event.inputs.version }}" \
--make-release
- name: Setup upterm session
# uses: lhotari/action-upterm@v1
uses: chrisburr/action-upterm@patch-1
if: ${{ failure() }}
with:
limit-access-to-actor: true