mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-04 23:07:46 -04:00
19 lines
452 B
YAML
19 lines
452 B
YAML
name: prepare
|
|
on: workflow_call
|
|
|
|
jobs:
|
|
prepare:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
submodules: true
|
|
- name: create release
|
|
id: create_release
|
|
if: ${{ github.ref_type == 'tag' }}
|
|
env:
|
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
run: |
|
|
tag=$(echo ${{ github.ref }} | sed 's:refs/tags/::')
|
|
gh release create "$tag" --verify-tag -d -t "$tag" -n "$tag"
|
|
|