mirror of
https://github.com/actions/setup-python.git
synced 2024-11-22 06:26:25 +00:00
65b48c7115
This workflow file publishes new action releases to the immutable action package of the same name as this repo. This is part of the Immutable Actions project which is not yet fully released to the public. First party actions like this one are part of our initial testing of this feature.
22 lines
439 B
YAML
22 lines
439 B
YAML
name: 'Publish Immutable Action Version'
|
|
|
|
on:
|
|
release:
|
|
types: [created]
|
|
|
|
jobs:
|
|
publish:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
id-token: write
|
|
packages: write
|
|
|
|
steps:
|
|
- name: Checking out
|
|
uses: actions/checkout@v4
|
|
- name: Publish
|
|
id: publish
|
|
uses: actions/publish-immutable-action@0.0.1
|
|
with:
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|