From 0095ffc65c01cac5b2886a405ac059e290806daa Mon Sep 17 00:00:00 2001 From: songyinyin Date: Wed, 25 Oct 2023 12:06:36 +0800 Subject: [PATCH] test github action v15 name --- .github/workflows/linux_mac_native.yml | 8 ++++---- .github/workflows/windows-native.yml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/linux_mac_native.yml b/.github/workflows/linux_mac_native.yml index 706fbfa1..e2898d4f 100644 --- a/.github/workflows/linux_mac_native.yml +++ b/.github/workflows/linux_mac_native.yml @@ -49,24 +49,24 @@ jobs: mvn clean install -pl neutrino-proxy-core -am -DskipTests --no-transfer-progress cd neutrino-proxy-server mvn clean native:compile -P native --file pom.xml --no-transfer-progress - cp target/neutrino-proxy-server ./../ + cp target/neutrino-proxy-server ./../neutrino-proxy-server-${{ github.ref }} - name: Archive zip (neutrino-proxy-server) uses: thedoctor0/zip-release@master with: type: 'zip' - path: 'neutrino-proxy-server' + path: 'neutrino-proxy-server-${{ github.ref }}' filename: neutrino-proxy-server-${{ matrix.os }}-${{ github.ref }}.zip - name: Build with Maven (neutrino-proxy-client) run: | cd neutrino-proxy-client mvn clean package --file pom.xml --no-transfer-progress mvn clean native:compile -P native --file pom.xml --no-transfer-progress - cp target/neutrino-proxy-client ./../ + cp target/neutrino-proxy-client ./../neutrino-proxy-client-${{ github.ref }} - name: Archive zip (neutrino-proxy-client) uses: thedoctor0/zip-release@master with: type: 'zip' - path: 'neutrino-proxy-client' + path: 'neutrino-proxy-client-${{ github.ref }}' filename: neutrino-proxy-client-${{ matrix.os }}-${{ github.ref }}.zip # GitHub 上创建 release - name: Release diff --git a/.github/workflows/windows-native.yml b/.github/workflows/windows-native.yml index 2c09aa7e..20adb416 100644 --- a/.github/workflows/windows-native.yml +++ b/.github/workflows/windows-native.yml @@ -50,24 +50,24 @@ jobs: mvn clean install -pl neutrino-proxy-core -am -DskipTests --no-transfer-progress cd neutrino-proxy-server mvn clean native:compile -P native --file pom.xml --no-transfer-progress - xcopy target/neutrino-proxy-server ./../ + xcopy target/neutrino-proxy-server ./../neutrino-proxy-server-${{ github.ref }} - name: Archive zip (neutrino-proxy-server) uses: thedoctor0/zip-release@master with: type: 'zip' - path: 'neutrino-proxy-server' + path: 'neutrino-proxy-server-${{ github.ref }}' filename: neutrino-proxy-server-${{ matrix.os }}-${{ github.ref }}.zip - name: Build with Maven (neutrino-proxy-client) run: | cd neutrino-proxy-client mvn clean package --file pom.xml --no-transfer-progress mvn clean native:compile -P native --file pom.xml --no-transfer-progress - xcopy target/neutrino-proxy-client ./../ + xcopy target/neutrino-proxy-client ./../neutrino-proxy-client-${{ github.ref }} - name: Archive zip (neutrino-proxy-client) uses: thedoctor0/zip-release@master with: type: 'zip' - path: 'neutrino-proxy-client' + path: 'neutrino-proxy-client-${{ github.ref }}' filename: neutrino-proxy-client-${{ matrix.os }}-${{ github.ref }}.zip # GitHub 上创建 release - name: Release