Skip to content

Commit ca89946

Browse files
authored
Create action go.yml
1 parent adfaa66 commit ca89946

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/go.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# This workflow will build a golang project
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
3+
4+
# workflow name
5+
name: Generate release-artifacts
6+
7+
# on events
8+
on:
9+
release:
10+
types:
11+
- created
12+
13+
# workflow tasks
14+
jobs:
15+
generate:
16+
name: Generate cross-platform builds
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout the repository
20+
uses: actions/checkout@v2
21+
- name: Generate build files
22+
uses: thatisuday/go-cross-build@v1
23+
with:
24+
platforms: 'linux/amd64, linux/arm64, darwin/arm64, darwin/amd64, windows/amd64'
25+
package: 'main'
26+
name: 'image-compressor-api'
27+
compress: 'true'
28+
dest: 'dist'

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy