.github/workflows/upload_binaries.yml
10 runs-on: ubuntu-latest
14 - uses: actions/checkout@v6
15 - uses: taiki-e/create-gh-release-action@v1
17 changelog: CHANGELOG.md
19 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25 - target: aarch64-apple-darwin
27 - target: x86_64-apple-darwin
30 runs-on: ${{ matrix.os }}
36 - uses: actions/checkout@v6
38 - name: Compile the Swift script
39 run: swiftc get_live_text.swift
41 - name: Create the zip archive
42 run: zip "get_live_text.${{ matrix.target }}.zip" get_live_text README.md LICENSE
44 - name: Push the zip file to the GitHub release
45 run: gh release upload "$GITHUB_REF_NAME" "get_live_text.${{ matrix.target }}.zip" --clobber
47 GH_TOKEN: ${{ github.token }}