From 6b67656969acadc180f5ed7c88828e9b478c6e0a Mon Sep 17 00:00:00 2001 From: Richard Herman Date: Sun, 24 Dec 2023 20:02:58 +0000 Subject: [PATCH] build: update example to v4 --- .github/workflows/example.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/example.yml b/.github/workflows/example.yml index cae0a9d..baf34de 100644 --- a/.github/workflows/example.yml +++ b/.github/workflows/example.yml @@ -16,43 +16,46 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Create test file run: echo hello > world.txt - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: my-artifact path: world.txt - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: my-artifact-2 path: world.txt - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: my-artifact-3 path: world.txt - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: you-artifact path: world.txt - name: Delete (specific, glob disabled) - uses: geekyeggo/delete-artifact@v2 + uses: geekyeggo/delete-artifact@v4 with: name: my-artifact useGlob: false + token: ${{ secrets.GITHUB_TOKEN }} - name: Delete (pattern, glob enabled) - uses: geekyeggo/delete-artifact@v2 + uses: geekyeggo/delete-artifact@v4 with: name: my-* + token: ${{ secrets.GITHUB_TOKEN }} - name: Delete (specific, glob enabled) - uses: geekyeggo/delete-artifact@v2 + uses: geekyeggo/delete-artifact@v4 with: name: you-artifact + token: ${{ secrets.GITHUB_TOKEN }}