From 9e8781068a7840df1739f9e5c111f902bc4b42dd Mon Sep 17 00:00:00 2001 From: Aditya Kajla Date: Wed, 4 Sep 2024 17:06:18 -0700 Subject: [PATCH] Update remaining github actions --- .github/workflows/mysql.yaml | 2 +- .github/workflows/postgres.yaml | 2 +- .github/workflows/release.yaml | 4 ++-- .github/workflows/sqlite.yaml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/mysql.yaml b/.github/workflows/mysql.yaml index b88e2c9..67348da 100644 --- a/.github/workflows/mysql.yaml +++ b/.github/workflows/mysql.yaml @@ -66,7 +66,7 @@ jobs: run: echo 'y' | migrate -path ./migrations/datastore/mysql/ -database mysql://root:root@/warrant down - name: Archive server log if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: server-log path: server.log diff --git a/.github/workflows/postgres.yaml b/.github/workflows/postgres.yaml index 1279441..98268bb 100644 --- a/.github/workflows/postgres.yaml +++ b/.github/workflows/postgres.yaml @@ -71,7 +71,7 @@ jobs: run: echo 'y' | migrate -path ./migrations/datastore/postgres/ -database postgres://warrant_user:db_password@/warrant?sslmode=disable down - name: Archive server log if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: server-log path: server.log diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6c2ee80..152e8fd 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 with: platforms: amd64,arm64 - name: Setup Go env @@ -17,7 +17,7 @@ jobs: with: go-version: "^1.23.0" - name: Docker login - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_USER }} password: ${{ secrets.DOCKER_TOKEN }} diff --git a/.github/workflows/sqlite.yaml b/.github/workflows/sqlite.yaml index d174786..4e4a0a0 100644 --- a/.github/workflows/sqlite.yaml +++ b/.github/workflows/sqlite.yaml @@ -55,7 +55,7 @@ jobs: run: kill -9 `lsof -i:8000 -t` - name: Archive server log if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: server-log path: server.log