Skip to content

Commit

Permalink
ci: move to v5 of delete artifact action
Browse files Browse the repository at this point in the history
Support tokenless deletion
  • Loading branch information
ewanharris committed Sep 16, 2024
1 parent 444d1a4 commit 5bd37cc
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 15 deletions.
6 changes: 1 addition & 5 deletions .github/actions/package/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ inputs:
vtag:
description: The version tag to be used for the SDK
required: true
token:
description: The token used to remove artifacts
required: true

runs:
using: composite
Expand Down Expand Up @@ -101,9 +98,8 @@ runs:
rm -f ~/.gradle/caches/modules-2/gc.properties
shell: bash

- uses: geekyeggo/delete-artifact@v4
- uses: geekyeggo/delete-artifact@v5
with:
token: ${{ env.token }}
name: |
android-build
ios-build
4 changes: 0 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ on:
- actions_tests
pull_request:

permissions:
actions: write

jobs:
android:
runs-on: ubuntu-20.04
Expand Down Expand Up @@ -89,4 +86,3 @@ jobs:
node-version: '20.x'
java-version: '11'
vtag: ${{ env.vtag }}
token: ${{ github.token }}
6 changes: 0 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ on:
- Beta3
- Beta4

permissions:
actions: write

jobs:
validate:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -105,8 +102,6 @@ jobs:
package:
runs-on: macos-12
name: Package
permissions:
actions: write
env:
SDK_BUILD_CACHE_DIR: ${{ github.workspace }}/.native-modules
DEVELOPER_DIR: /Applications/Xcode_14.2.app/Contents/Developer
Expand All @@ -121,7 +116,6 @@ jobs:
- name: Package
uses: ./.github/actions/package
with:
token: ${{ github.token }}
node-version: '20.x'
java-version: '11'
vtag: ${{ env.vtag }}
Expand Down

0 comments on commit 5bd37cc

Please sign in to comment.