File tree Expand file tree Collapse file tree 2 files changed +31
-2
lines changed Expand file tree Collapse file tree 2 files changed +31
-2
lines changed Original file line number Diff line number Diff line change 1+ # name: Build and release (macOS)
2+
3+ # on:
4+ # push:
5+ # tags:
6+ # - "v*"
7+
8+ # jobs:
9+ # build-macos:
10+ # runs-on: macos-latest
11+
12+ # steps:
13+ # - name: Checkout code
14+ # uses: actions/checkout@v4
15+
16+ # - name: Install Rust
17+ # uses: dtolnay/rust-toolchain@stable
18+
19+ # - name: Build bundle
20+ # run: |
21+ # chmod +x scripts/bundler.sh
22+ # ./scripts/bundler.sh
23+
24+ # - name: Upload artifact to release
25+ # uses: softprops/action-gh-release@v1
26+ # with:
27+ # files: dist/tiles-v*-x86_64-darwin.tar.gz
28+ # env:
29+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -euo pipefail
33
4- ENV=" dev " # prod is another env, try taking it from github env
4+ ENV=" prod " # prod is another env, try taking it from github env
55REPO=" tilesprivacy/tilekit"
66# VERSION="${TILES_VERSION:-latest}"
77VERSION=" 0.1.0"
3939log " ⬇️ Downloading Tiles (${VERSION} ) for ${ARCH} -${OS} ..."
4040
4141
42-
4342if [[ " $ENV " == " prod" ]]; then
4443 TAR_URL=" https://github.com/${REPO} /releases/download/${VERSION} /tiles-v${VERSION} -${ARCH} -${OS} .tar.gz"
4544 curl -fsSL -o " ${TMPDIR} /tiles.tar.gz" " $TAR_URL "
You can’t perform that action at this time.
0 commit comments