Skip to content

Commit

Permalink
Migrate to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ursm committed Nov 7, 2021
1 parent 8bc9726 commit 86be0fb
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 25 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
on:
push:
tags:
- '*'

permissions:
contents: write

jobs:
release:
runs-on: ubuntu-latest

steps:
- run: |
sudo apt update
sudo apt install --assume-yes gcc-multilib
- uses: actions/setup-go@v2
with:
go-version: 1.17

- uses: actions/checkout@v2
with:
fetch-depth: 0

- uses: goreleaser/goreleaser-action@v2
with:
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/dist/
/osm
12 changes: 12 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
builds:
- env:
- CGO_ENABLED=1
goos:
- linux
goarch:
- amd64
- 386

archives:
- format: tar.xz
wrap_in_directory: true
25 changes: 0 additions & 25 deletions .travis.yml

This file was deleted.

0 comments on commit 86be0fb

Please sign in to comment.