Skip to content

Added blue coins (WIP i still need to add all the guide links and fix… #41

Added blue coins (WIP i still need to add all the guide links and fix…

Added blue coins (WIP i still need to add all the guide links and fix… #41

Workflow file for this run

name: Build and Release
on:
push:
branches:
- "main"
- "develop"
jobs:
build:
name: Build & Bundle
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
# 1. Build for Linux
- name: Build Linux Binary
run: |
GOOS=linux GOARCH=amd64 go build -o sms-tracker .
# 2. Build for Windows
- name: Build Windows Binary
run: |
GOOS=windows GOARCH=amd64 go build -o sms-tracker.exe .
# 3. Upload Raw Binaries
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: sms-tracker-binaries
path: |
sms-tracker
sms-tracker.exe
release:
name: Create Release
needs: build
runs-on: ubuntu-latest
permissions:
contents: write
if: github.ref == 'refs/heads/main'
steps:
- name: Download Artifacts
uses: actions/download-artifact@v4
with:
name: sms-tracker-binaries
- name: Create Release
uses: softprops/action-gh-release@v1
with:
tag_name: v0.0.${{ github.run_number }}
name: Release v0.0.${{ github.run_number }}
draft: true
prerelease: false
files: |
sms-tracker
sms-tracker.exe