Skip to content

Commit

Permalink
ci: testing cross-platforn build
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBigRoomXXL committed Sep 12, 2023
1 parent 71a88da commit 859ec5a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 18 deletions.
29 changes: 11 additions & 18 deletions .github/workflows/push-main.yml
Expand Up @@ -6,24 +6,17 @@ on:
- "v*.*.*"

jobs:
build-and-release:
generate:
name: Generate cross-platform builds
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: setup-repos
uses: actions/checkout@v3

- name: setup-go
uses: actions/setup-go@v4

- name: verify-dependencies
run: go mod verify

- name: build
run: go build

- name: release
uses: ncipollo/release-action@v1
- name: Checkout the repository
uses: actions/checkout@v2
- name: Generate build files
uses: thatisuday/go-cross-build@v1
with:
artifacts: "tinyfeed"
platforms: "linux/amd64, darwin/amd64, windows/amd64"
package: "demo"
name: "program"
compress: "true"
dest: "dist"
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -3,3 +3,5 @@
**tinyfeed** aggregate a collection of feeds into a static HTML page. Currently
RSS, Atom and JSON feeds are all supported thanks to the awesome
[gofeed library](https://github.com/mmcdole/gofeed)


0 comments on commit 859ec5a

Please sign in to comment.