update build workflow

This commit is contained in:
2025-07-15 13:53:26 -05:00
parent ca3fefaae8
commit aace3abd6d

View File

@@ -41,16 +41,16 @@ jobs:
GOARCH: ${{ matrix.goarch }} GOARCH: ${{ matrix.goarch }}
GOARM: ${{ matrix.goarch == 'arm' && '6' || '' }} GOARM: ${{ matrix.goarch == 'arm' && '6' || '' }}
run: | run: |
output_name="arcgis-utils-go-${GOOS}-${GOARCH}" output_name="reticulum-go-${GOOS}-${GOARCH}"
if [ "$GOOS" = "windows" ]; then if [ "$GOOS" = "windows" ]; then
output_name+=".exe" output_name+=".exe"
fi fi
go build -v -ldflags="-s -w" -o "${output_name}" ./cmd/arcgis-utils go build -v -ldflags="-s -w" -o "${output_name}" ./cmd/reticulum-go
echo "Built: ${output_name}" echo "Built: ${output_name}"
- name: Calculate SHA256 Checksum - name: Calculate SHA256 Checksum
run: | run: |
output_name="arcgis-utils-go-${{ matrix.goos }}-${{ matrix.goarch }}" output_name="reticulum-go-${{ matrix.goos }}-${{ matrix.goarch }}"
if [ "${{ matrix.goos }}" = "windows" ]; then if [ "${{ matrix.goos }}" = "windows" ]; then
output_name+=".exe" output_name+=".exe"
fi fi
@@ -60,8 +60,8 @@ jobs:
- name: Upload Artifact - name: Upload Artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: arcgis-utils-go-${{ matrix.goos }}-${{ matrix.goarch }} name: reticulum-go-${{ matrix.goos }}-${{ matrix.goarch }}
path: arcgis-utils-go-${{ matrix.goos }}-${{ matrix.goarch }}* path: reticulum-go-${{ matrix.goos }}-${{ matrix.goarch }}*
release: release:
name: Create Release name: Create Release
@@ -84,4 +84,4 @@ jobs:
- name: Create GitHub Release - name: Create GitHub Release
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2
with: with:
files: ./release-assets/*/* files: ./release-assets/*/*