Disable git safe directory check #106
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Post Tag | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
build: | |
name: Push Latest Release Binaries | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set TAG_NAME in Environment | |
# Subsequent jobs will be have the computed tag name | |
run: echo "TAG_NAME=${GITHUB_REF##*/}" >> $GITHUB_ENV | |
- name: Build Release Binaries | |
run: make release | |
- name: Create or Update Release | |
env: | |
# Required for the GitHub CLI | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: ./build/github-release.sh --asset-dir=./_release/${TAG_NAME#v}/ --tag=${TAG_NAME} |