Skip to content

Commit

Permalink
dctl -> dosei
Browse files Browse the repository at this point in the history
  • Loading branch information
Alw3ys committed Mar 21, 2024
1 parent c5b9380 commit 0377127
Show file tree
Hide file tree
Showing 25 changed files with 167 additions and 86 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/dctl-ci.yml → .github/workflows/cli-ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: dctl-ci
name: cli-ci

on:
push:
Expand Down Expand Up @@ -50,21 +50,21 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Build Release
run: cargo build --package dctl --target ${{ matrix.target }} --release
run: cargo build --package dosei --target ${{ matrix.target }} --release

- name: Zip (Linux/MacOS)
if: matrix.os != 'windows-latest'
run: zip -j dctl-${{ matrix.target }}.zip target/${{ matrix.target }}/release/dctl
run: zip -j dosei-${{ matrix.target }}.zip target/${{ matrix.target }}/release/dosei

- name: Zip (Windows)
if: matrix.os == 'windows-latest'
run: Compress-Archive -CompressionLevel Optimal -Force -Path target/${{ matrix.target }}/release/dctl.exe -DestinationPath dctl-${{ matrix.target }}.zip
run: Compress-Archive -CompressionLevel Optimal -Force -Path target/${{ matrix.target }}/release/dosei.exe -DestinationPath dosei-${{ matrix.target }}.zip

- name: Upload Zip
uses: actions/upload-artifact@v4
with:
name: dctl
path: dctl-${{ matrix.target }}.zip
name: dosei
path: dosei-${{ matrix.target }}.zip

release:
name: Release
Expand All @@ -74,19 +74,19 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
name: dctl
name: dosei
- name: Release
uses: softprops/action-gh-release@v2
with:
files: |
dctl-x86_64-unknown-linux-gnu.zip
dctl-x86_64-apple-darwin.zip
dctl-aarch64-apple-darwin.zip
dctl-x86_64-pc-windows-msvc.zip
dosei-x86_64-unknown-linux-gnu.zip
dosei-x86_64-apple-darwin.zip
dosei-aarch64-apple-darwin.zip
dosei-x86_64-pc-windows-msvc.zip
- name: Print files sha256
run: |
shasum -a 256 \
dctl-x86_64-unknown-linux-gnu.zip \
dctl-x86_64-apple-darwin.zip \
dctl-aarch64-apple-darwin.zip \
dctl-x86_64-pc-windows-msvc.zip
dosei-x86_64-unknown-linux-gnu.zip \
dosei-x86_64-apple-darwin.zip \
dosei-aarch64-apple-darwin.zip \
dosei-x86_64-pc-windows-msvc.zip
Loading

0 comments on commit 0377127

Please sign in to comment.