remove intel mac from CI #1
Workflow file for this run
This file contains hidden or 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: 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 |