Skip to content

Commit fb24ac6

Browse files
authored
Admin: Add Release workflow (#21)
1 parent 00c83c4 commit fb24ac6

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/release.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- v*.*
7+
8+
jobs:
9+
release-localstack-snapshot-job:
10+
runs-on: ubuntu-latest
11+
name: Release localstack-snapshot
12+
permissions:
13+
contents: write
14+
id-token: write
15+
environment:
16+
name: pypi
17+
url: https://pypi.org/p/localstack-snapshot
18+
19+
steps:
20+
- name: Checkout repo
21+
uses: actions/checkout@v5
22+
23+
- name: Verify and build Python distribution
24+
run: make install lint test dist
25+
26+
- name: Publish to PyPI
27+
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)