Release 0.3 (#26) #13
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run the Release | |
permissions: | |
contents: write | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
Create_Packages: | |
name: "Create Packages" | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Arch PKGBUILD | |
run: | | |
mkdir -pv /tmp/RELEASE | |
cp -v pkg/arch/PKGBUILD /tmp/RELEASE/ | |
- name: Install DEB deps | |
run: | | |
sudo apt update | |
sudo apt install devscripts debhelper-compat | |
- name: Run DEB pkg script | |
run: | | |
pwd | |
ls | |
ls pkg | |
ls pkg/debian | |
bash pkg/debian/build-debian.sh | |
mkdir -pv /tmp/RELEASE | |
mv -v /tmp/maps-build-temp/maps*.deb /tmp/RELEASE/ | |
- name: Install RPM deps | |
run: | | |
sudo apt install rpm | |
- name: Run RPM pkg script | |
run: | | |
pwd | |
ls | |
ls pkg | |
ls pkg/rpm | |
bash pkg/rpm/build-rpm.sh | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: /tmp/RELEASE/* |