Skip to content

Commit

Permalink
pls work
Browse files Browse the repository at this point in the history
  • Loading branch information
mpwsh committed Oct 3, 2023
1 parent 83ae9ab commit f0ace1c
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ jobs:
run: echo ::set-output "name=VERSION::$(IFS=\=;cat Cargo.toml | grep version | head -n1 | awk {'print $3'})"
shell: bash

- name: Debug matrix.os
run: echo "OS is ${{ matrix.os }}"

- name: Install dependencies
if: startsWith(matrix.os, 'ubuntu')
run: |
Expand Down Expand Up @@ -76,11 +73,11 @@ jobs:
- uses: actions/cache@v1
with:
path: ~/.cargo/registry
key: '${{ runner.os }}-cargo-registry-${{ hashFiles(''**/Cargo.lock'') }}'
key: '${{ runner.os }}-${{ matrix.target }}-cargo-registry-${{ hashFiles(''**/Cargo.lock'') }}'
- uses: actions/cache@v1
with:
path: ~/.cargo/git
key: '${{ runner.os }}-cargo-index-${{ hashFiles(''**/Cargo.lock'') }}'
key: '${{ runner.os }}-${{ matrix.target }}-cargo-index-${{ hashFiles(''**/Cargo.lock'') }}'
- uses: actions/cache@v1
with:
path: target
Expand Down Expand Up @@ -119,8 +116,8 @@ jobs:

- name: Move binaries
run: |
mv ~/work/hub-cli/hub-cli/* .
ls
cp ~/work/hub-cli/hub-cli/hub-cli* .
ls hub-cli*
- name: Release
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit f0ace1c

Please sign in to comment.