mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-10 05:11:25 +00:00
Expand arg.
This commit is contained in:
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@@ -18,6 +18,16 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Validate input
|
||||
run: |
|
||||
# validate argument
|
||||
if [[ $version != d* ]] && [[ $version != v* ]] && [[ $version != b* ]] ;
|
||||
then
|
||||
echo "Argument '$version' does not start with a d or with a v or a b"
|
||||
exit 1
|
||||
fi
|
||||
env:
|
||||
version: ${{ github.event_name == 'schedule' && 'develop' || inputs.version }}
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user