Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: rename action to agent-cli #176

Merged
merged 1 commit into from
Apr 29, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
- name: Save library
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.architecture }}-aries-cli
path: target/${{ matrix.architecture }}/release/aries-cli
name: ${{ matrix.architecture }}-agent-cli
path: target/${{ matrix.architecture }}/release/agent-cli
build-linux:
name: build linux
runs-on: ubuntu-latest
Expand All @@ -45,8 +45,8 @@ jobs:
- name: Save library
uses: actions/upload-artifact@v2
with:
name: linux-aries-cli
path: target/release/aries-cli
name: linux-agent-cli
path: target/release/agent-cli
build-windows:
name: build windows
runs-on: windows-latest
Expand All @@ -60,24 +60,24 @@ jobs:
- name: Save library
uses: actions/upload-artifact@v2
with:
name: windows-aries-cli.exe
path: target/release/aries-cli.exe
name: windows-agent-cli.exe
path: target/release/agent-cli.exe
release:
runs-on: ubuntu-latest
needs: [build-macos, build-linux, build-windows]
steps:
- name: Download built binaries
uses: actions/download-artifact@v3
- run: |
mv aarch64-apple-darwin-aries-cli/aries-cli apple-arm-aries-cli
mv x86_64-apple-darwin-aries-cli/aries-cli apple-x86_64-aries-cli
mv linux-aries-cli/aries-cli linux-x86_64-aries-cli
mv windows-aries-cli.exe/aries-cli.exe windows-x86_64-aries-cli.exe
mv aarch64-apple-darwin-agent-cli/agent-cli apple-arm-agent-cli
mv x86_64-apple-darwin-agent-cli/agent-cli apple-x86_64-agent-cli
mv linux-agent-cli/agent-cli linux-x86_64-agent-cli
mv windows-agent-cli.exe/agent-cli.exe windows-x86_64-agent-cli.exe
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
apple-arm-aries-cli
apple-x86_64-aries-cli
linux-x86_64-aries-cli
windows-x86_64-aries-cli.exe
apple-arm-agent-cli
apple-x86_64-agent-cli
linux-x86_64-agent-cli
windows-x86_64-agent-cli.exe