From f15991d07256e31a0f91f58d013c08b97f1e5ad1 Mon Sep 17 00:00:00 2001 From: blacknon Date: Sun, 10 Nov 2024 04:19:01 +0900 Subject: [PATCH] update. Github Actions Update. --- .github/workflows/release.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9553f67..00e91bb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -236,19 +236,14 @@ jobs: with: name: create-release - - id: upload-url - run: | - echo "::set-output name=url::$(cat create-release/release_upload_url.txt)" - - uses: actions/download-artifact@v3 with: name: build-${{ matrix.target }} - - uses: actions/upload-release-asset@v1 + - uses: actions/upload-artifact@v4 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - upload_url: ${{ steps.upload-url.outputs.url }} - asset_path: ./build-${{ matrix.target }}/hwatch-${{ needs.create-release.outputs.version }}.${{ matrix.target }}.${{ matrix.ext }} - asset_name: hwatch-${{ needs.create-release.outputs.version }}.${{ matrix.target }}.${{ matrix.ext }} + path: ./build-${{ matrix.target }}/hwatch-${{ needs.create-release.outputs.version }}.${{ matrix.target }}.${{ matrix.ext }} + name: hwatch-${{ needs.create-release.outputs.version }}.${{ matrix.target }}.${{ matrix.ext }} asset_content_type: application/octet-stream