allow building from master
This commit is contained in:
7
.github/workflows/bridge.yml
vendored
7
.github/workflows/bridge.yml
vendored
@@ -30,10 +30,17 @@ jobs:
|
|||||||
}
|
}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout source code
|
- name: Checkout source code
|
||||||
|
if: ${{ inputs.version != 'master' }}
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: rustdesk/rustdesk
|
repository: rustdesk/rustdesk
|
||||||
ref: refs/tags/${{ inputs.version }}
|
ref: refs/tags/${{ inputs.version }}
|
||||||
|
|
||||||
|
- name: Checkout source code
|
||||||
|
if: ${{ inputs.version == 'master' }}
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
repository: rustdesk/rustdesk
|
||||||
|
|
||||||
- name: Install prerequisites
|
- name: Install prerequisites
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
7
.github/workflows/generator-android.yml
vendored
7
.github/workflows/generator-android.yml
vendored
@@ -196,10 +196,17 @@ jobs:
|
|||||||
wget
|
wget
|
||||||
|
|
||||||
- name: Checkout source code
|
- name: Checkout source code
|
||||||
|
if: ${{ env.VERSION != 'master' }}
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: rustdesk/rustdesk
|
repository: rustdesk/rustdesk
|
||||||
ref: refs/tags/${{ env.VERSION }}
|
ref: refs/tags/${{ env.VERSION }}
|
||||||
|
|
||||||
|
- name: Checkout source code
|
||||||
|
if: ${{ env.VERSION == 'master' }}
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
repository: rustdesk/rustdesk
|
||||||
|
|
||||||
- name: Install flutter
|
- name: Install flutter
|
||||||
uses: subosito/flutter-action@v2
|
uses: subosito/flutter-action@v2
|
||||||
|
|||||||
7
.github/workflows/generator-linux.yml
vendored
7
.github/workflows/generator-linux.yml
vendored
@@ -158,11 +158,18 @@ jobs:
|
|||||||
sudo apt-get install -y imagemagick
|
sudo apt-get install -y imagemagick
|
||||||
|
|
||||||
- name: Checkout source code
|
- name: Checkout source code
|
||||||
|
if: ${{ env.VERSION != 'master' }}
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: rustdesk/rustdesk
|
repository: rustdesk/rustdesk
|
||||||
ref: refs/tags/${{ env.VERSION }}
|
ref: refs/tags/${{ env.VERSION }}
|
||||||
|
|
||||||
|
- name: Checkout source code
|
||||||
|
if: ${{ env.VERSION == 'master' }}
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
repository: rustdesk/rustdesk
|
||||||
|
|
||||||
- name: Set Swap Space
|
- name: Set Swap Space
|
||||||
if: ${{ matrix.job.arch == 'x86_64' }}
|
if: ${{ matrix.job.arch == 'x86_64' }}
|
||||||
uses: pierotofy/set-swap-space@master
|
uses: pierotofy/set-swap-space@master
|
||||||
|
|||||||
7
.github/workflows/generator-windows.yml
vendored
7
.github/workflows/generator-windows.yml
vendored
@@ -143,11 +143,18 @@ jobs:
|
|||||||
data: '{"uuid": "${{ inputs.uuid }}", "status": "5% complete"}'
|
data: '{"uuid": "${{ inputs.uuid }}", "status": "5% complete"}'
|
||||||
|
|
||||||
- name: Checkout source code
|
- name: Checkout source code
|
||||||
|
if: ${{ env.VERSION != 'master' }}
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: rustdesk/rustdesk
|
repository: rustdesk/rustdesk
|
||||||
ref: refs/tags/${{ env.VERSION }}
|
ref: refs/tags/${{ env.VERSION }}
|
||||||
|
|
||||||
|
- name: Checkout source code
|
||||||
|
if: ${{ env.VERSION == 'master' }}
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
repository: rustdesk/rustdesk
|
||||||
|
|
||||||
- name: Install ImageMagick on Windows
|
- name: Install ImageMagick on Windows
|
||||||
run: |
|
run: |
|
||||||
choco install -y imagemagick.app --no-progress
|
choco install -y imagemagick.app --no-progress
|
||||||
|
|||||||
Reference in New Issue
Block a user