diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 9084ac1..eaa4919 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -40,28 +40,41 @@ jobs: with: version: v1.60 - - name: build amd64 + - name: build linux amd64 id: build-amd64 run: | echo "ARTIFACT=transocks-$(make version)_$(go env GOOS)-amd64" >> $GITHUB_OUTPUT GOARCH=amd64 make clean build - - name: upload amd64 + - name: upload linux amd64 uses: https://git.mousesoft.ru/actions/upload-artifact@v3 with: name: ${{ steps.build-amd64.outputs.ARTIFACT }} path: out/bin/* overwrite: true - - name: build arm64 + - name: build linux arm64 id: build-arm64 run: | echo "ARTIFACT=transocks-$(make version)_$(go env GOOS)-arm64" >> $GITHUB_OUTPUT GOARCH=arm64 make clean build - - name: upload arm64 + - name: upload linux arm64 uses: https://git.mousesoft.ru/actions/upload-artifact@v3 with: name: ${{ steps.build-arm64.outputs.ARTIFACT }} path: out/bin/* overwrite: true + + - name: build linux arm32 + id: build-arm32 + run: | + echo "ARTIFACT=transocks-$(make version)_$(go env GOOS)-arm32" >> $GITHUB_OUTPUT + GOARCH=arm32 make clean build + + - name: upload linux arm32 + uses: https://git.mousesoft.ru/actions/upload-artifact@v3 + with: + name: ${{ steps.build-arm32.outputs.ARTIFACT }} + path: out/bin/* + overwrite: true diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 8b2f00c..236259a 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -10,11 +10,6 @@ on: jobs: release: runs-on: ubuntu-latest - outputs: - version: ${{ steps.meta.outputs.VERSION }} - changes: ${{ steps.meta.outputs.CHANGES }} - artifact_amd64: ${{ steps.build-amd.outputs.ARTIFACT }} - artifact_arm64: ${{ steps.build-arm.outputs.ARTIFACT }} steps: - name: check-out uses: https://git.mousesoft.ru/actions/checkout@v4 @@ -43,14 +38,15 @@ jobs: with: version: v1.60 - - name: build amd64 - id: build-amd64 + - name: build linux amd64 run: GOARCH=amd64 make build pkg-deb - - name: build arm64 - id: build-arm64 + - name: build linux arm64 run: GOARCH=arm64 make build pkg-deb + - name: build linux arm32 + run: GOARCH=arm32 make build pkg-deb + - name: meta id: meta env: