Skip to content

Commit

Permalink
Fix release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Lapis256 authored Jul 23, 2024
1 parent b5c5f78 commit 5d830fa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ jobs:
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
glibc: 2.17
extension: ""
- os: windows-latest
target: x86_64-pc-windows-msvc
glibc: -1
extension: .exe

runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -58,7 +60,7 @@ jobs:
- name: Rename artifacts
shell: bash
run: |
mv target/${{ matrix.job.target }}/release/${{ env.PROJECT_NAME }}{,-${{ github.ref_name }}-${{ matrix.job.target }}${{ matrix.job.extension }}}
mv target/${{ matrix.target }}/release/${{ env.PROJECT_NAME }}{,-${{ github.ref_name }}-${{ matrix.target }}${{ matrix.extension }}}
# ビルド済みバイナリをReleasesに配置
- name: Release
Expand All @@ -67,4 +69,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: |
target/${{ matrix.job.target }}/release/${{ env.PROJECT_NAME }}-${{ github.ref_name }}-${{ matrix.job.target }}${{ matrix.job.extension }}
target/${{ matrix.target }}/release/${{ env.PROJECT_NAME }}-${{ github.ref_name }}-${{ matrix.target }}${{ matrix.extension }}

0 comments on commit 5d830fa

Please sign in to comment.