From 7776288b23224dbd83f2efcb0e7841a7ba83597a Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 15 Jun 2023 09:49:21 +0800 Subject: [PATCH] [change] build workflow --- .github/workflows/{build-docker-dev.yml => build-docker.yml} | 2 +- .github/workflows/{build-linux-dev.yml => build-linux.yml} | 2 ++ .github/workflows/{build-macos-dev.yml => build-macos.yml} | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) rename .github/workflows/{build-docker-dev.yml => build-docker.yml} (97%) rename .github/workflows/{build-linux-dev.yml => build-linux.yml} (95%) rename .github/workflows/{build-macos-dev.yml => build-macos.yml} (94%) diff --git a/.github/workflows/build-docker-dev.yml b/.github/workflows/build-docker.yml similarity index 97% rename from .github/workflows/build-docker-dev.yml rename to .github/workflows/build-docker.yml index 21ff36be..3e107909 100644 --- a/.github/workflows/build-docker-dev.yml +++ b/.github/workflows/build-docker.yml @@ -22,7 +22,7 @@ jobs: - name: Get Version run: | - echo VERSION=$(cat share/const.go |grep 'const VERSION' | awk '{print $4}' | sed "s/\"//g") >> $GITHUB_ENV + echo VERSION=$(cat share/const.go |grep 'const VERSION' | awk '{print $4}' | sed "s/\"//g")-unstable >> $GITHUB_ENV - name: Check Version run: echo $VERSION diff --git a/.github/workflows/build-linux-dev.yml b/.github/workflows/build-linux.yml similarity index 95% rename from .github/workflows/build-linux-dev.yml rename to .github/workflows/build-linux.yml index e5134090..5b799f43 100644 --- a/.github/workflows/build-linux-dev.yml +++ b/.github/workflows/build-linux.yml @@ -107,6 +107,8 @@ jobs: - name: Make Artifacts Linux run: | make artifacts-linux + mv dist/release/yao-0.10.3-dev-linux-arm64 dist/release/yao-0.10.3-unstable-linux-arm64 + mv dist/release/yao-0.10.3-dev-linux-amd64 dist/release/yao-0.10.3-unstable-linux-amd64 - name: Configure COS For Silicon Valley env: diff --git a/.github/workflows/build-macos-dev.yml b/.github/workflows/build-macos.yml similarity index 94% rename from .github/workflows/build-macos-dev.yml rename to .github/workflows/build-macos.yml index 6aec2c94..aad45bc7 100644 --- a/.github/workflows/build-macos-dev.yml +++ b/.github/workflows/build-macos.yml @@ -103,6 +103,8 @@ jobs: - name: Make Artifacts MacOS run: | make artifacts-macos + mv dist/release/yao-0.10.3-dev-darwin-arm64 dist/release/yao-0.10.3-unstable-darwin-arm64 + mv dist/release/yao-0.10.3-dev-darwin-amd64 dist/release/yao-0.10.3-unstable-darwin-amd64 - name: Configure COS For Silicon Valley env: