Skip to content

bump up permissions #56

bump up permissions

bump up permissions #56

Workflow file for this run

name: Build & Publish
on:
push:
branches:
- main
# tags:
# - "v*"
jobs:
release:
permissions: write-all
runs-on: ${{ matrix.os }}
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.snapcraft_token }}
strategy:
matrix:
# os: [ubuntu-22.04]
os: [ubuntu-22.04, windows-latest]
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.11"
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# pip install wheel
# pip install -r backend/requirements.txt
# pip install -r backend/requirements-dev.txt
- name: Install Snapcraft
uses: samuelmeuli/action-snapcraft@v2
if: startsWith(matrix.os, 'ubuntu')
- name: Build and Publish
uses: greenmtnboy/[email protected]
with:
package_root: frontend
# GitHub token, automatically provided to the action
# (No need to define this secret in the repo settings)
github_token: ${{ secrets.github_token }}
skip_build: false
# use_vue_cli: true
max_attempts: 2
# If the commit is tagged with a version (e.g. "v1.0.0"),
# release the app after building
release: true