From 9ee52b52b4941224bb2b3ad1db1bbce6e963484a Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Fri, 11 Dec 2020 21:26:37 +0200 Subject: [PATCH] add more TODO comments to github actions --- .github/workflows/debian.yml | 14 +++----------- .github/workflows/homebrew.yml | 8 +++++--- .github/workflows/pip.yml | 10 +++++++--- 3 files changed, 15 insertions(+), 17 deletions(-) diff --git a/.github/workflows/debian.yml b/.github/workflows/debian.yml index cb2a006c..49e9750a 100644 --- a/.github/workflows/debian.yml +++ b/.github/workflows/debian.yml @@ -17,19 +17,12 @@ jobs: submodules: true fetch-depth: 1 - # - name: Set up Python - # uses: actions/setup-python@v1 - # with: - # python-version: 3.9 - # architecture: x64 - - name: Install packaging dependencies run: | sudo apt install -y \ python3 python3-dev python3-pip python3-venv python3-all \ dh-python debhelper devscripts dput software-properties-common \ python3-distutils python3-setuptools python3-wheel python3-stdeb - # pip3 install --upgrade pip setuptools wheel stdeb - name: Build Debian/Apt sdist_dsc run: | @@ -62,14 +55,14 @@ jobs: archivebox add 'https://example.com' archivebox status - # - name: Commit files + # - name: Commit built package # run: | # cd deb_dist/ # git config --local user.email "action@github.com" # git config --local user.name "GitHub Action" # git commit -m "Debian package autobuild" -a - # - name: Push changes + # - name: Push build to Github # uses: ad-m/github-push-action@master # with: # github_token: ${{ secrets.GITHUB_TOKEN }} @@ -77,8 +70,7 @@ jobs: # branch: ${{ github.ref }} # directory: deb_dist - # TODO: push debian package to launchpad PPA - # - name: Push to launchpad + # - name: Push build to Launchpad PPA # run: | # debsign -k "$PGP_KEY_ID" "deb_dist/archivebox_${VERSION}-${DEBIAN_VERSION}_source.changes" # dput archivebox "deb_dist/archivebox_${VERSION}-${DEBIAN_VERSION}_source.changes" diff --git a/.github/workflows/homebrew.yml b/.github/workflows/homebrew.yml index ce4e4d89..d9bb05f1 100644 --- a/.github/workflows/homebrew.yml +++ b/.github/workflows/homebrew.yml @@ -15,6 +15,8 @@ jobs: submodules: true fetch-depth: 1 + # TODO: modify archivebox.rb to update src url, hashes, and dependencies + - name: Build Homebrew Bottle run: | pip3 install --upgrade pip setuptools wheel @@ -30,14 +32,14 @@ jobs: archivebox version archivebox status - # - name: Commit files + # - name: Commit built package # run: | # cd brew_dist/ # git config --local user.email "action@github.com" # git config --local user.name "GitHub Action" # git commit -m "Homebrew package autobuild" -a - # - name: Push changes + # - name: Push build to Github # uses: ad-m/github-push-action@master # with: # github_token: ${{ secrets.GITHUB_TOKEN }} @@ -45,4 +47,4 @@ jobs: # branch: ${{ github.ref }} # directory: brew_dist - # TODO: push bottle to Github and open homebrew core PR with latest changes + # TODO: push bottle homebrew core PR with latest changes diff --git a/.github/workflows/pip.yml b/.github/workflows/pip.yml index bbb44019..36153189 100644 --- a/.github/workflows/pip.yml +++ b/.github/workflows/pip.yml @@ -39,14 +39,14 @@ jobs: archivebox version archivebox status - # - name: Commit files + # - name: Commit built package # run: | # cd pip_dist/ # git config --local user.email "action@github.com" # git config --local user.name "GitHub Action" # git commit -m "Pip package autobuild" -a - # - name: Push changes + # - name: Push build to Github # uses: ad-m/github-push-action@master # with: # github_token: ${{ secrets.GITHUB_TOKEN }} @@ -54,4 +54,8 @@ jobs: # branch: ${{ github.ref }} # directory: pip_dist - # TODO: push to PyPI with twine + # - name: Push build to PyPI + # run: | + # cd pip_dist/ + # python3 -m twine upload --repository testpypi pip_dist/*.{whl,tar.gz} + # python3 -m twine upload --repository pypi pip_dist/*.{whl,tar.gz}