Skip to content

Commit

Permalink
Merge pull request #7 from tamada/release/v0.1.7
Browse files Browse the repository at this point in the history
fix CI errors of invalid reference of upload_url
  • Loading branch information
tamada authored Apr 15, 2024
2 parents 16ca848 + c06d6a2 commit 0fa2557
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 16 deletions.
29 changes: 14 additions & 15 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,22 +46,22 @@ jobs:
target: aarch64-unknown-linux-gnu
artifact_name: ${{ needs.setup.outputs.appname }}
asset_name: ${{ needs.setup.outputs.appname }}-${{ needs.setup.outputs.tag }}_linux_arm64
- os: macOS-latest
- os: ubuntu-latest
target: x86_64-apple-darwin
artifact_name: ${{ needs.setup.outputs.appname }}
asset_name: ${{ needs.setup.outputs.appname }}-${{ needs.setup.outputs.tag }}_darwin_amd64
- os: macOS-latest
- os: ubuntu-latest
target: aarch64-apple-darwin
artifact_name: ${{ needs.setup.outputs.appname }}
asset_name: ${{ needs.setup.outputs.appname }}-${{ needs.setup.outputs.tag }}_darwin_arm64
- os: windows-latest
target: x86_64-pc-windows-msvc
artifact_name: ${{ needs.setup.outputs.appname }}.exe
asset_name: ${{ needs.setup.outputs.appname }}-${{ needs.setup.outputs.tag }}_windows_amd64
- os: windows-latest
target: aarch64-pc-windows-msvc
artifact_name: btmeister.exe
asset_name: btmeister-${{ needs.setup.outputs.tag }}_windows_arm64
# - os: ubuntu-latest
# target: x86_64-pc-windows-msvc
# artifact_name: ${{ needs.setup.outputs.appname }}.exe
# asset_name: ${{ needs.setup.outputs.appname }}-${{ needs.setup.outputs.tag }}_windows_amd64
# - os: ubuntu-latest
# target: aarch64-pc-windows-msvc
# artifact_name: btmeister.exe
# asset_name: btmeister-${{ needs.setup.outputs.tag }}_windows_arm64

steps:
# initialization
Expand All @@ -74,9 +74,9 @@ jobs:
- name: Setup Rust (1/2)
uses: actions-rust-lang/setup-rust-toolchain@v1

# - name: Setup Rust (2/2)
# run: |
# cargo install cross
- name: Setup Rust (2/2)
run: |
cargo install cross
- name: Setup variables
id: vars
Expand All @@ -87,8 +87,7 @@ jobs:
- name: Cross build with all features
run: |
rustup target add ${{ matrix.target }}
cargo build --release --target ${{ matrix.target }}
cross build --release --target ${{ matrix.target }}
# publish release
- name: Create release file
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "totebag"
version = "0.1.6"
version = "0.1.7"
description = "A tool for archiving files and directories and extracting several archive formats."
repository = "https://github.com/tamada/totebag"
readme = "README.md"
Expand Down

0 comments on commit 0fa2557

Please sign in to comment.