From b02df1311c159bc5a86da40c8a3423d43012c594 Mon Sep 17 00:00:00 2001 From: Rob van Oostenrijk Date: Sun, 14 Jan 2024 11:01:32 +0400 Subject: [PATCH] Updated workflow --- .github/workflows/main.yml | 40 -------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index c9751d19..00000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: Build & Upload Artifacts - -on: - push: - tags: - - '*' -jobs: - build-container-and-deploy: - runs-on: ubuntu-latest - name: Build cloudflared for FreeBSD - env: - GOOS: freebsd - if: github.event_name == 'push' - steps: - - name: Install Go - uses: actions/setup-go@v3 - with: - go-version: 1.21.x - - name: Checkout code - uses: actions/checkout@v3 - - name: Build - shell: bash - run: | - sed -i "s/\(LDFLAGS.*\)'$/\1 -s -w'/" Makefile - - for BUILD in amd64,amd64 arm64,aarch64 arm,armv7 386,i386; do - export GOARCH=${BUILD%,*} - export PLATFORM=${BUILD#*,} - - make cloudflared - tar -cvJf cloudflared-${PLATFORM}.tar.xz cloudflared - done - - name: Release - uses: softprops/action-gh-release@v1 - with: - files: | - cloudflared-aarch64.tar.xz - cloudflared-amd64.tar.xz - cloudflared-armv7.tar.xz - cloudflared-i386.tar.xz