Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-3 sequential build cmd/* instead
Browse files Browse the repository at this point in the history
Lord of Scripts committed Aug 31, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent a1d3891 commit 9c9bb3a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/crossbuild.yml
Original file line number Diff line number Diff line change
@@ -14,6 +14,10 @@ on:
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10

# Allows running this workflow manually from the Actions tab
workflow_dispatch:


permissions:
contents: write

@@ -28,6 +32,7 @@ jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
goosarch:
- 'linux/386'
@@ -41,8 +46,10 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: '1.22.1'

- name: Set environment variable
run: echo "MY_APPTAG=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV

- name: Get OS and arch info
run: |
GOOSARCH=${{matrix.goosarch}}
@@ -53,12 +60,15 @@ jobs:
echo "BINARY_NAME=$BINARY_NAME" >> $GITHUB_ENV
echo "GOOS=$GOOS" >> $GITHUB_ENV
echo "GOARCH=$GOARCH" >> $GITHUB_ENV
- name: Build
run: |
go build -o "$BINARY_NAME" -v
go build -v -o "$BINARY_NAME" cmd/wiper/*go
- name: Release Notes
run:
git log $(git describe HEAD~ --tags --abbrev=0)..HEAD --pretty='format:* %h %s%n * %an <%ae>' --no-merges >> ".github/RELEASE-TEMPLATE.md"

- name: Release with Notes
uses: softprops/action-gh-release@v2
with:

0 comments on commit 9c9bb3a

Please sign in to comment.