* 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 f9e00cbcb3588e58914d2b9e73b3c5734a12d329.
15 lines
452 B
YAML
15 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
|