fix link spacing in readme #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
- master | |
- 'release/**' | |
pull_request: | |
branches: | |
- main | |
- master | |
- 'release/**' | |
permissions: | |
contents: write | |
packages: write | |
id-token: write | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up environment | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Set Version number | |
if: github.ref != 'refs/heads/main' && github.event_name == 'push' | |
run: | | |
branchId="${GITHUB_REF/refs\/heads\/release\//}" | |
buildNumber="${branchId}.${GITHUB_RUN_NUMBER}" | |
echo $branchId $buildNumber | |
sed "s/0.0.0/${buildNumber}/g" ./localstack_extension_authress/VERSION -i | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
# python3 -m pip install --upgrade localstack==2.2.0 | |
make install | |
# pip3 install -r requirements.txt | |
- name: Build deployable | |
run: | | |
python3 -m pip install build --user | |
python3 -m build --sdist --wheel --outdir dist/ . | |
- name: Deploy package to package repository | |
uses: pypa/gh-action-pypi-publish@release/v1 | |
if: github.ref != 'refs/heads/main' && github.event_name == 'push' | |
with: | |
print_hash: true | |
- name: Tag and release version | |
if: github.ref != 'refs/heads/main' && github.event_name == 'push' | |
run: | | |
git tag ${GITHUB_REF/refs\/heads\/release\//}.$GITHUB_RUN_NUMBER | |
git push origin ${GITHUB_REF/refs\/heads\/release\//}.$GITHUB_RUN_NUMBER |