-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (34 loc) · 1002 Bytes
/
Copy pathrelease.yml
File metadata and controls
39 lines (34 loc) · 1002 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
33
34
35
36
name: release
on:
# schedule:
# - cron: '0 18 * * *'
workflow_dispatch:
inputs:
x-cmd-pkg-version:
description: 'x-cmd pkg version'
required: true
default: 'v0.1.3'
jobs:
Bundle:
runs-on: ubuntu-latest
timeout-minutes: 20
env:
___X_CMD_PKG_RELEASE_VERSION: ${{ github.event.inputs.x-cmd-pkg-version }}
___X_CMD_GHACTION_X: x6
WEBHOOK_URL: ${{ secrets.ROBOT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ALIYUN_ACCESS_KEY_ID: ${{ secrets.ALIYUN_ACCESS_KEY_ID }}
ALIYUN_ACCESS_KEY_SECRET: ${{ secrets.ALIYUN_ACCESS_KEY_SECRET }}
# ssh_key: ${{ secrets.SSH_PRIVATE_KEY }}
# git_user: agent-zero
# git_email: 0@x-cmd.com
ssh_key: ${{ secrets.SSH_PRIVATE_KEY_PKG }}
git_user: lunrenyi
git_email: liaoxuanbin@x-cmd.com
CONCURRENCY: 10
steps:
- name: main
uses: x-cmd/action@main
with:
code: |
x ws release || return