diff --git a/.github/workflows/mkreleaselog.yml b/.github/workflows/mkreleaselog.yml index d41c5b04da..c0d6db6e91 100644 --- a/.github/workflows/mkreleaselog.yml +++ b/.github/workflows/mkreleaselog.yml @@ -20,15 +20,20 @@ jobs: - uses: actions/setup-go@v5 - name: Copy files to GOPATH run: | - mkdir -p ~/go/github.com/libp2p + mkdir -p ~/go/src/github.com/libp2p cd .. - cp -r go-libp2p ~/go/github.com/libp2p + cp -r go-libp2p ~/go/src/github.com/libp2p - name: Install dependencies run: | - cd ~/go/github.com/libp2p/go-libp2p + cd ~/go/src/github.com/libp2p/go-libp2p go mod download - name: Run mkreleaselog script shell: zsh {0} run: | - cd ~/go/github.com/libp2p/go-libp2p - ./scripts/mkreleaselog + cd ~/go/src/github.com/libp2p/go-libp2p + ./scripts/mkreleaselog > release.log + - name: Upload release log + uses: actions/upload-artifact@v4 + with: + name: release.log + path: release.log