mirror of
https://github.com/deskflow/deskflow.git
synced 2026-07-07 21:07:23 +08:00
* Fixed OpenSSL exe dir to use tools dir
* Simplify vcpkg caching and use system vcpkg
* Only use ref for version when ref is a tag
* Add condition for event input
* Add restore keys for vcpkg cache
* Improve step name for vcpkg_installed
* Use `windows-2022` runner
* Update ChangeLog
* Revert "Use `windows-2022` runner"
This reverts commit f9e00cbcb3.
16 lines
452 B
YAML
16 lines
452 B
YAML
name: "Get version"
|
|
description: "Gets the version number from GitHub environment"
|
|
|
|
runs:
|
|
using: "composite"
|
|
|
|
steps:
|
|
- run: |
|
|
if [[ "${{ github.ref }}" == refs/tags/* ]]; then
|
|
echo "SYNERGY_VERSION=${{ github.ref_name }}" >> $GITHUB_ENV
|
|
fi
|
|
if [[ "${{ github.event.inputs.version }}" != "" ]]; then
|
|
echo "SYNERGY_VERSION=${{ github.event.inputs.version }}" >> $GITHUB_ENV
|
|
fi
|
|
shell: bash
|