File tree Expand file tree Collapse file tree 1 file changed +71
-0
lines changed Expand file tree Collapse file tree 1 file changed +71
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Pre-release
2+
3+ on :
4+ workflow_dispatch :
5+
6+ jobs :
7+ build :
8+ name : Build
9+ # https://github.com/actions/virtual-environments/
10+ runs-on : ubuntu-22.04
11+ steps :
12+
13+ - name : 🛎️ Checkout
14+ uses : actions/checkout@v5
15+
16+ # https://github.com/marketplace/actions/setup-go-environment
17+ - name : 🔧 Setup go
18+ uses : actions/setup-go@v5
19+
20+ - name : 🍳 Build
21+ run : make
22+
23+ - name : 🌡️ Test
24+ run : ./offline-map-tile-downloader --help
25+
26+ # Upload binaries
27+ # https://github.com/marketplace/actions/upload-a-build-artifact
28+ - name : 📤 Upload
29+ uses : actions/upload-artifact@v4
30+ with :
31+ name : offline-map-tile-downloader-artifact
32+ path : offline-map-tile-downloader-*
33+ retention-days : 1
34+
35+ test-linux :
36+ name : Test Linux
37+ needs : build
38+ runs-on : ubuntu-latest
39+ steps :
40+ # Download binaries
41+ # https://github.com/marketplace/actions/download-a-build-artifact
42+ - name : 📥 Download
43+ uses : actions/download-artifact@v5
44+ with :
45+ name : offline-map-tile-downloader-artifact
46+ - name : 🌡️ Test
47+ run : chmod +x offline-map-tile-downloader-linux-x86_64 && ./offline-map-tile-downloader-linux-x86_64 --help
48+
49+ test-macos :
50+ name : Test macOS
51+ needs : build
52+ runs-on : macos-latest
53+ steps :
54+ - name : 📥 Download
55+ uses : actions/download-artifact@v5
56+ with :
57+ name : offline-map-tile-downloader-artifact
58+ - name : 🌡️ Test
59+ run : chmod +x offline-map-tile-downloader-macos-x86_64 && ./offline-map-tile-downloader-macos-x86_64 --help
60+
61+ test-windows :
62+ name : Test Windows
63+ needs : build
64+ runs-on : windows-latest
65+ steps :
66+ - name : 📥 Download
67+ uses : actions/download-artifact@v5
68+ with :
69+ name : offline-map-tile-downloader-artifact
70+ - name : 🌡️ Test
71+ run : .\offline-map-tile-downloader-windows-x86_64.exe --help
You can’t perform that action at this time.
0 commit comments