Skip to content

updating release action #18

updating release action

updating release action #18

Workflow file for this run

name: Build this project using Pygbag
on:
push:
branches:
- main
jobs:
build:
name: building project
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: checkout
uses: actions/[email protected]
with:
persist-credentials: false
fetch-depth: 0
- name: build
run: |
echo "Installing pygbag"
python3 -m pip install pygbag
echo "pygbag success!"
echo "building the project"
python -m pygbag --build $GITHUB_WORKSPACE/main.py
echo "DONE"
- name: create release
uses: ncipollo/[email protected]
with:
token: ${{ secrets.GH_CREDENTIALS }}
artifacts: ${{ steps.export.outputs.archive_directory }}/build/web