WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Feature: Keep Reply to messages (#7) #34

Feature: Keep Reply to messages (#7)

Feature: Keep Reply to messages (#7) #34

Workflow file for this run

name: Build and Upload Artifacts
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, darwin]
goarch: [amd64, arm64]
exclude:
- goos: darwin
goarch: amd64
steps:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.22.1
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Get dependencies
run: go get -v -t -d ./...
- name: Build
env:
GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }}
run: go build -v -o sanitizetelebot-${{ matrix.goos }}-${{ matrix.goarch }} sanitizetelebot.go
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: sanitizetelebot-${{ matrix.goos }}-${{ matrix.goarch }}
path: ./sanitizetelebot-${{ matrix.goos }}-${{ matrix.goarch }}