* Revert "Core builds (#6908)"
This reverts commit 4c7456d3cc.
* Re-add minor gitignore changes
* Re-add buildCoreWindows script
* Re-add synergy no legacy flag
* Minor format fix
* Revert openssl checksums
* Remove enhancement
* Install python-pip for gcovr
* Fix mixed tabs and spaces
45 lines
No EOL
1.2 KiB
YAML
45 lines
No EOL
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.GITHUB_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 }}' |