mirror of
https://github.com/actions/cache.git
synced 2024-12-27 14:28:01 +08:00
Add releaseNewActionVersion environment gate to prevent accidental releases
This commit is contained in:
parent
6849a64899
commit
4e6013043d
@ -6,6 +6,8 @@ on:
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
environment:
|
||||
name: releaseNewActionVersion
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
@ -15,6 +17,7 @@ jobs:
|
||||
steps:
|
||||
- name: Checking out
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Publish
|
||||
id: publish
|
||||
uses: actions/publish-immutable-action@0.0.3
|
||||
|
Loading…
x
Reference in New Issue
Block a user