mirror of
https://github.com/2dust/v2rayN.git
synced 2026-07-26 09:52:05 +03:00
* Update build-linux.yml * Create package-rhel-loong.sh * Update package-debian-riscv.sh * Update package-rhel-riscv.sh * Update package-rhel-riscv.sh * Update package-rhel.sh * Update build-linux.yml * Update build-linux.yml * Create build-windows-x86.yml * Update build-all.yml
87 lines
2.8 KiB
YAML
87 lines
2.8 KiB
YAML
name: release all platforms
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
release_tag:
|
|
required: false
|
|
type: string
|
|
|
|
permissions:
|
|
actions: write
|
|
|
|
jobs:
|
|
update:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
|
|
- name: Trigger build windows
|
|
if: inputs.release_tag != ''
|
|
run: |
|
|
curl -X POST \
|
|
-H "Accept: application/vnd.github.v3+json" \
|
|
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
|
|
https://api.github.com/repos/${{ github.repository }}/actions/workflows/build-windows.yml/dispatches \
|
|
-d "{
|
|
\"ref\": \"master\",
|
|
\"inputs\": {
|
|
\"release_tag\": \"${{ inputs.release_tag }}\"
|
|
}
|
|
}"
|
|
|
|
- name: Trigger build linux
|
|
if: inputs.release_tag != ''
|
|
run: |
|
|
curl -X POST \
|
|
-H "Accept: application/vnd.github.v3+json" \
|
|
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
|
|
https://api.github.com/repos/${{ github.repository }}/actions/workflows/build-linux.yml/dispatches \
|
|
-d "{
|
|
\"ref\": \"master\",
|
|
\"inputs\": {
|
|
\"release_tag\": \"${{ inputs.release_tag }}\"
|
|
}
|
|
}"
|
|
|
|
- name: Trigger build osx
|
|
if: inputs.release_tag != ''
|
|
run: |
|
|
curl -X POST \
|
|
-H "Accept: application/vnd.github.v3+json" \
|
|
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
|
|
https://api.github.com/repos/${{ github.repository }}/actions/workflows/build-osx.yml/dispatches \
|
|
-d "{
|
|
\"ref\": \"master\",
|
|
\"inputs\": {
|
|
\"release_tag\": \"${{ inputs.release_tag }}\"
|
|
}
|
|
}"
|
|
|
|
- name: Trigger build windows desktop
|
|
if: inputs.release_tag != ''
|
|
run: |
|
|
curl -X POST \
|
|
-H "Accept: application/vnd.github.v3+json" \
|
|
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
|
|
https://api.github.com/repos/${{ github.repository }}/actions/workflows/build-windows-desktop.yml/dispatches \
|
|
-d "{
|
|
\"ref\": \"master\",
|
|
\"inputs\": {
|
|
\"release_tag\": \"${{ inputs.release_tag }}\"
|
|
}
|
|
}"
|
|
|
|
- name: Trigger build windows x86
|
|
if: inputs.release_tag != ''
|
|
run: |
|
|
curl -X POST \
|
|
-H "Accept: application/vnd.github.v3+json" \
|
|
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
|
|
https://api.github.com/repos/${{ github.repository }}/actions/workflows/build-windows-x86.yml/dispatches \
|
|
-d "{
|
|
\"ref\": \"master\",
|
|
\"inputs\": {
|
|
\"release_tag\": \"${{ inputs.release_tag }}\"
|
|
}
|
|
}"
|