Skip to content

remove intel mac from CI #1

remove intel mac from CI

remove intel mac from CI #1

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Get version from tag
id: version
run: echo "VERSION=${GITHUB_REF_NAME#v}" >> "$GITHUB_OUTPUT"
- name: Create source archives
run: |
git archive --format=tar.gz --prefix=libann-${{ steps.version.outputs.VERSION }}/ -o libann-${{ steps.version.outputs.VERSION }}-source.tar.gz HEAD
git archive --format=zip --prefix=libann-${{ steps.version.outputs.VERSION }}/ -o libann-${{ steps.version.outputs.VERSION }}-source.zip HEAD
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
files: |
libann-${{ steps.version.outputs.VERSION }}-source.tar.gz
libann-${{ steps.version.outputs.VERSION }}-source.zip