Доработан workflow и имена артефактов.
All checks were successful
build / build (push) Successful in 35s
release / release (push) Successful in 31s

This commit is contained in:
Алексей Бадяев 2024-10-11 11:55:16 +07:00
parent 97cfa1109b
commit 99953bd42a
Signed by: alexey
GPG Key ID: 686FBC1363E4AFAE
2 changed files with 6 additions and 6 deletions

View File

@ -36,22 +36,22 @@ jobs:
- name: build amd64 binary
if: steps.cache.outputs.cache-hit != 'true'
run: GOARCH=amd64 make dist
run: GOARCH=amd64 make clean build
- name: upload amd64 binary artifact
uses: https://gitea.com/actions/upload-artifact@v3
with:
name: drawio-export-amd64
path: out/*-amd64.tar.gz
path: out/bin/*
overwrite: true
- name: build arm64 binary
if: steps.cache.outputs.cache-hit != 'true'
run: GOARCH=arm64 make dist
run: GOARCH=arm64 make clean build
- name: upload arm64 binary artifact
uses: https://gitea.com/actions/upload-artifact@v3
with:
name: drawio-export-arm64
path: out/*-arm64.tar.gz
path: out/bin/*
overwrite: true

View File

@ -112,7 +112,7 @@ package: $(PACKAGE_TARGETS) ## Build all available packages
.PHONY:package
ifeq ($(OS),Windows_NT)
pkg-msi: dist ## Create MSI package
pkg-msi: build ## Create MSI package
@rm -rf $(TMPDIR)
@rm -f $(OUTDIR)/$(MSI_FILE)
@mkdir -p $(TMPDIR)
@ -132,7 +132,7 @@ else
DEB_NAME := $(PROJECT_ID)_$(VERSION_NUMBER)-1_$(GOARCH)
pkg-deb: dist ## Build debian package
pkg-deb: build ## Build debian package
@rm -rf $(TMPDIR)
@mkdir -p $(TMPDIR)/$(DEB_NAME)/usr/bin
@mkdir -p $(TMPDIR)/$(DEB_NAME)/debian