mirror of
https://github.com/deskflow/deskflow.git
synced 2026-07-07 21:07:23 +08:00
* Add runner for raspberry pi 3 * Changed name * Add matrix * ARM64 not ARM for pi-4 * Seporate artifact name for artifacts * Add name to matrix * Seporate build and test * Fix $(name) * Retry pi * Retry with echo * Use revision in filename glob * add deb option * Re activate tests * Add scp upload * Change release uploader * New ssh key * ChangeLog * Upload test * Show file contents * Kick actions * Overwrite test file * Change scp deploy * Fix local and remote * Remove test job * Allow pi-4 to run full parallel * Build deb only when on master push * Fix build version for raspberry pi * Upload files not folder * Cleanup test and remove artifacts * Add enterprise builds * Change build time to release * Change create release token to allow propogation
45 lines
1.2 KiB
YAML
45 lines
1.2 KiB
YAML
name: Create Build
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
create-release:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: 'Get Previous tag'
|
|
id: previoustag
|
|
uses: "WyriHaximus/github-action-get-previous-tag@master"
|
|
|
|
- name: 'Install git core'
|
|
run: npm install @actions/core
|
|
|
|
- name: 'Generate next build number'
|
|
id: build
|
|
uses: "./.github/actions/build-number"
|
|
with:
|
|
previous-build: ${{ steps.previoustag.outputs.tag }}
|
|
|
|
- name: Create Release
|
|
id: create_release
|
|
uses: actions/create-release@v1
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.RELEASE_EVENT_PROPAGATION_TOKEN }}
|
|
with:
|
|
tag_name: ${{ steps.build.outputs.next-build }}
|
|
release_name: ${{ steps.build.outputs.next-build }}
|
|
commitish: master
|
|
draft: false
|
|
prerelease: true
|
|
|
|
- name: Run build on Azure
|
|
uses: Azure/pipelines@v1
|
|
with:
|
|
azure-devops-project-url: 'https://dev.azure.com/symless/synergy-core'
|
|
azure-pipeline-name: 'symless.synergy-core'
|
|
azure-devops-token: '${{ secrets.AZURE_DEVOPS_TOKEN }}' |