imp - More markers for special days #1047
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: Build Project (Debian Package) | |
on: | |
push: | |
branches: | |
- main | |
- servicing | |
pull_request: | |
branches: | |
- main | |
- servicing | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: 'true' | |
- name: Import GPG | |
uses: crazy-max/ghaction-import-gpg@v5 | |
with: | |
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | |
passphrase: ${{ secrets.PASSPHRASE }} | |
- name: Install required packages | |
run: | | |
sudo rm /etc/apt/sources.list.d/microsoft-prod.list | |
sudo apt update | |
sudo apt purge dotnet* | |
sudo apt autoremove | |
sudo apt install curl locales-all cli-common-dev libunwind8-dev libcurl4-openssl-dev dotnet-sdk-7.0 devscripts debhelper-compat dput | |
- name: Initialize offline package | |
run: | | |
chmod +x tools/initializeoffline.sh | |
make debian-init-offline | |
- name: Make original package | |
run: | | |
mv debian .. | |
mv .github .. | |
tar cfv ../kernel-simulator_0.1.0-beta2.orig.tar . | |
xz ../kernel-simulator_0.1.0-beta2.orig.tar | |
mv ../debian . | |
- name: Build package | |
run: | | |
debuild --no-lintian -us -uc | |
cp ../*.deb . | |
- name: Upload package to artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: Nitrocid-KS-Debian-Package | |
path: "*.deb" |