From 11ef737fa96034af66d244a81ef92d10100d4ee7 Mon Sep 17 00:00:00 2001 From: Jacob Elder Date: Thu, 16 Mar 2023 16:08:29 -0400 Subject: [PATCH] Fix some bit rot in the release action --- .github/workflows/release.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8994f0a..90583fb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ jobs: with: command: build args: --release --target aarch64-apple-darwin - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: aarch64-apple-darwin path: target/aarch64-apple-darwin/release/pg_parcel @@ -46,7 +46,7 @@ jobs: args: --release --target x86_64-apple-darwin - name: Smoke test run: target/x86_64-apple-darwin/release/pg_parcel --help - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: x86_64-apple-darwin path: target/x86_64-apple-darwin/release/pg_parcel @@ -76,8 +76,10 @@ jobs: - name: Smoke test run: | find . - pg_parcel-apple-darwin --help - - uses: actions/upload-artifact@v2 + ls -lR + chmod 0755 ./pg_parcel-apple-darwin + ./pg_parcel-apple-darwin --help + - uses: actions/upload-artifact@v3 with: name: apple-darwin path: pg_parcel-apple-darwin @@ -105,7 +107,7 @@ jobs: args: --release --target x86_64-unknown-linux-musl - name: Smoke test run: target/x86_64-unknown-linux-musl/release/pg_parcel --help - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: linux path: target/x86_64-unknown-linux-musl/release/pg_parcel