mirror of
https://github.com/actions/setup-java.git
synced 2025-06-30 13:04:13 +00:00
Use permissions as a top-level key
This commit is contained in:
parent
b74e5b8a9c
commit
3f4ca863bc
1 changed files with 2 additions and 2 deletions
|
@ -10,6 +10,8 @@ on:
|
|||
|
||||
env:
|
||||
TAG_NAME: ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }}
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
update_tag:
|
||||
|
@ -17,8 +19,6 @@ jobs:
|
|||
environment:
|
||||
name: releaseNewActionVersion
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- name: Update the ${{ env.TAG_NAME }} tag
|
||||
id: update-major-tag
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue