Skip to content

Commit

Permalink
mm
Browse files Browse the repository at this point in the history
  • Loading branch information
hsanjuan committed Jun 26, 2023
1 parent ed9fb53 commit fe01cae
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Kubo plugin build, test, release
name: Kubo plugin

on:
push:
Expand All @@ -9,6 +9,7 @@ env:

jobs:
build-artifacts:
name: "Build"
strategy:
matrix:
os:
Expand Down Expand Up @@ -43,6 +44,7 @@ jobs:
path: nopfs-kubo-plugin_*.tar.gz

test-artifacts:
name: "Test"
needs: build-artifacts
strategy:
matrix:
Expand All @@ -64,11 +66,13 @@ jobs:
run: |
V=`cat nopfs-kubo-plugin/go.mod | grep github.com/ipfs/kubo | grep -o 'v.*'`
echo "KUBO_VERSION=$V" >> "$GITHUB_ENV"
RELEASE=$(basename ${{ github.ref_name }})
echo "RELEASE=$RELEASE" >> "$GITHUB_ENV"
- name: Download artifact
id: download
uses: actions/download-artifact@v3
with:
name: nopfs-kubo-plugin_*_${{ env.GOHOSTOS }}_amd64.tar.gz
name: nopfs-kubo-plugin_${{ env.RELEASE }}_${{ env.GOHOSTOS }}_amd64.tar.gz
- name: Download unpack Kubo
run: |
wget https://dist.ipfs.tech/kubo/${{ env.KUBO_VERSION }}/kubo_${{ env.KUBO_VERSION }}_${{ env.GOHOSTOS }}-amd64.tar.gz
Expand All @@ -85,6 +89,7 @@ jobs:
run: ipfs version --all

release:
name: "Release"
needs: test-artifacts
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit fe01cae

Please sign in to comment.