Skip to content

Always use latest v1 of docker action #63

Always use latest v1 of docker action

Always use latest v1 of docker action #63

Workflow file for this run

---
name: Python package
'on':
push:
tags:
- 'v*.*.*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Change version in pyproject.toml
run: |
REF=$(echo ${{ github.ref }} | sed "s#\(refs/tags/\)\?v\?##")
sed -i "s/^version = \".\+\"/version = \"$REF\"/" pyproject.toml
- name: Build and publish to pypi
uses: JRubics/poetry-publish@v1.15
with:
pypi_token: ${{ secrets.PYPI_TOKEN }}
- name: Publish aur
uses: pyazo-screenshot/docker_action@v1
with:
tag: ${{ github.ref }}
aur_key: ${{ secrets.AUR_KEY }}