Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Umio-Yasuno committed Jan 28, 2025
1 parent 37e7090 commit 526060d
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
create-release:
strategy:
matrix:
os: [ubuntu-22.04, ubuntu-22.04-arm]
os: ubuntu-22.04
runs-on: ${{ matrix.os }}
name: create-release
steps:
Expand All @@ -34,12 +34,6 @@ jobs:
echo "version does not match tag"
# exit 1
fi
- name: Runner Arch
run: |
# https://stackoverflow.com/questions/52996949/how-can-i-find-the-current-rust-compilers-default-llvm-target-triple
echo "RUSTC_HOST_ARCH=$(rustc -vV | sed -n 's|host: ||p')" >> $GITHUB_ENV
- name: Print Runner Arch
run: echo "$RUSTC_HOST_ARCH"
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -48,7 +42,6 @@ jobs:
outputs:
version: ${{ env.VERSION }}
pkg_ver: ${{ env.PKG_VER }}
rustc_host_arch: ${{ env.RUSTC_HOST_ARCH }}

build:
name: build
Expand All @@ -57,13 +50,18 @@ jobs:
APPIMAGETOOL: tools/appimagetool
VERSION: ${{needs.create-release.outputs.version}}
PKG_VER: ${{needs.create-release.outputs.pkg_ver}}
RUSTC_HOST_ARCH: ${{needs.create-release.outputs.rustc_host_arch}}
strategy:
matrix:
os: [ubuntu-22.04, ubuntu-22.04-arm]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Runner Arch
run: |
# https://stackoverflow.com/questions/52996949/how-can-i-find-the-current-rust-compilers-default-llvm-target-triple
echo "RUSTC_HOST_ARCH=$(rustc -vV | sed -n 's|host: ||p')" >> $GITHUB_ENV
- name: Print Runner Arch
run: echo "$RUSTC_HOST_ARCH"
- name: Check Version env
run: |
if [ "$PKG_VER" == "" ]; then
Expand Down

0 comments on commit 526060d

Please sign in to comment.