diff --git a/.github/workflows/arm32.yml b/.github/workflows/arm32.yml index 87406802..69599b24 100644 --- a/.github/workflows/arm32.yml +++ b/.github/workflows/arm32.yml @@ -28,7 +28,7 @@ jobs: - run: npm install - run: npm run build - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: agileconfig-ui path: AgileConfig.Server.UI/react-ui-antd/dist/ @@ -46,7 +46,7 @@ jobs: run: dotnet restore - name: Build run: dotnet build --configuration Release --no-restore - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: agileconfig-ui path: AgileConfig.Server.Apisite/wwwroot/ui diff --git a/.github/workflows/arm64.yml b/.github/workflows/arm64.yml index db7826d0..ac66142d 100644 --- a/.github/workflows/arm64.yml +++ b/.github/workflows/arm64.yml @@ -28,7 +28,7 @@ jobs: - run: npm install - run: npm run build - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: agileconfig-ui path: AgileConfig.Server.UI/react-ui-antd/dist/ @@ -46,7 +46,7 @@ jobs: run: dotnet restore - name: Build run: dotnet build --configuration Release --no-restore - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: agileconfig-ui path: AgileConfig.Server.Apisite/wwwroot/ui diff --git a/.github/workflows/mysqlconnector.yml b/.github/workflows/mysqlconnector.yml index 330c3b0d..69ae6873 100644 --- a/.github/workflows/mysqlconnector.yml +++ b/.github/workflows/mysqlconnector.yml @@ -28,7 +28,7 @@ jobs: - run: npm install - run: npm run build - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: agileconfig-ui path: AgileConfig.Server.UI/react-ui-antd/dist/ @@ -46,7 +46,7 @@ jobs: run: dotnet restore - name: Build run: dotnet build --configuration Release --no-restore - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: agileconfig-ui path: AgileConfig.Server.Apisite/wwwroot/ui diff --git a/.github/workflows/preview-dotnet.yml b/.github/workflows/preview-dotnet.yml deleted file mode 100644 index 2c0df1fe..00000000 --- a/.github/workflows/preview-dotnet.yml +++ /dev/null @@ -1,52 +0,0 @@ -name: preview ci workflow - -on: - push: - paths-ignore: - - '**/*.md' - - '**/*.yml' - tags: - - 'preview-*' - -jobs: - build-reactapp: - runs-on: ubuntu-latest - defaults: - run: - working-directory: AgileConfig.Server.UI/react-ui-antd - strategy: - matrix: - node-version: [12.x] - - steps: - - uses: actions/checkout@v2 - - name: Setup .NET Core - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 8.0.* - - name: Install dependencies - run: dotnet restore - - name: Build - run: dotnet build --configuration Release --no-restore - - uses: actions/download-artifact@v2 - with: - name: agileconfig-ui - path: AgileConfig.Server.Apisite/wwwroot/ui - - name: build server release xxx - run: dotnet publish AgileConfig.Server.Apisite/AgileConfig.Server.Apisite.csproj -c Release - - uses: vimtor/action-zip@v1 - with: - files: AgileConfig.Server.Apisite/bin/Release/net6.0/publish/ - dest: agileconfig_server_deploy.zip - - name: create release - uses: ncipollo/release-action@v1 - with: - artifacts: agileconfig_server_deploy.zip - token: ${{ secrets.GITHUB_TOKEN }} - - name: Push to Docker hub preview -xxx - uses: docker/build-push-action@v1 - with: - username: ${{ secrets.DOCKER_HUB_NAME }} - password: ${{ secrets.DOCKER_HUB_PASSWORD }} - repository: kklldog/agile_config - tag_with_ref: true diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 88627a77..e297c2f8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -27,7 +27,7 @@ jobs: - run: npm install - run: npm run build - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: agileconfig-ui path: src/AgileConfig.Server.UI/react-ui-antd/dist/ @@ -45,7 +45,7 @@ jobs: run: dotnet restore - name: Build run: dotnet build --configuration Release --no-restore - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: agileconfig-ui path: src/AgileConfig.Server.Apisite/wwwroot/ui diff --git a/.github/workflows/release-xxx.yml b/.github/workflows/release-xxx.yml index 8645e4fb..06a0e206 100644 --- a/.github/workflows/release-xxx.yml +++ b/.github/workflows/release-xxx.yml @@ -27,7 +27,7 @@ jobs: - run: npm install - run: npm run build - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: agileconfig-ui path: src/AgileConfig.Server.UI/react-ui-antd/dist/ @@ -45,7 +45,7 @@ jobs: run: dotnet restore - name: Build run: dotnet build --configuration Release --no-restore - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: agileconfig-ui path: src/AgileConfig.Server.Apisite/wwwroot/ui