Skip to content

Initial attempt at release CI #1

Initial attempt at release CI

Initial attempt at release CI #1

Workflow file for this run

name: Run the Release
permission:

Check failure on line 3 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Run the Release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 3, Col: 1): Unexpected value 'permission'
contents: write
on:
push:
tags:
- 'v*'
jobs:
Create_Packages:
name: "Create Packages"
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
path: "REPO"
- name: Install DEB deps
run: |
sudo apt update
sudo apt install devscripts libcairo2-dev git gcc python3 python3-dev libgirepository1.0-dev libostree-dev fuse-overlayfs python3-venv libcap-dev autoconf python3-gi python3-tomli debhelper-compat
- name: Run DEB pkg script
run: |
bash pkg/debian/build-debian.sh
mkdir -pv /tmp/RELEASE
mv -v /tmp/maps-build-temp/maps*.deb /tmp/RELEASE/
- name: Release
uses: softprops/action-gh-release@v1
with:
files: /tmp/RELEASE/*