From 7e21c8571a6ba78dcfbd80d1d2d7daa488bf4732 Mon Sep 17 00:00:00 2001 From: Majd Alfhaily Date: Mon, 5 Dec 2022 21:44:32 +0100 Subject: [PATCH] Checkout source code as first step in release job (#119) --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 15a79d5a..790f103d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -65,6 +65,7 @@ jobs: os: [ darwin, linux, windows ] arch: [ arm64, amd64 ] steps: + - uses: actions/checkout@v2 - id: output run: echo ::set-output name=file::ipatool-${{ needs.get_version.outputs.version }}-${GOOS//darwin/macos}-$GOARCH env: @@ -74,7 +75,6 @@ jobs: with: name: ${{ steps.output.outputs.file }} path: bin - - uses: actions/checkout@v2 - run: tar -czvf ${{ steps.output.outputs.file }}.tar.gz bin/${{ steps.output.outputs.file }} - run: ./tools/sha256sum.sh ${{ steps.output.outputs.file }}.tar.gz > ${{ steps.output.outputs.file }}.tar.gz.sha256sum - uses: svenstaro/upload-release-action@v2