mirror of
https://github.com/netbirdio/ios-client.git
synced 2026-09-23 09:28:33 -07:00
32 lines
611 B
YAML
32 lines
611 B
YAML
name: Release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'v*'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
prepare:
|
|
name: Parse tag version
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
version: ${{ steps.parse.outputs.version }}
|
|
steps:
|
|
- name: Strip v prefix from tag
|
|
id: parse
|
|
run: |
|
|
TAG="${GITHUB_REF_NAME}"
|
|
echo "version=${TAG#v}" >> "$GITHUB_OUTPUT"
|
|
|
|
build:
|
|
name: Build and Upload Release
|
|
needs: prepare
|
|
uses: ./.github/workflows/build-upload.yml
|
|
with:
|
|
ref: ${{ github.ref }}
|
|
version: ${{ needs.prepare.outputs.version }}
|
|
secrets: inherit
|