Merge pull request #24 from waja/dependabot-github_actions-dawidd6-ac… #31
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: Packaging Test | |
on: | |
push: | |
branches: | |
- $default-branch | |
- development | |
- master | |
# Run tests for any PRs | |
pull_request: | |
env: | |
SOURCE_DIR: ./ | |
ARTIFACTS_DIR: debian/build/release/ | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
env: | |
DEBIAN_FRONTEND: "noninteractive" | |
- name: Remove github artefacts | |
run: | | |
rm -rf .github* | |
- name: Adjust distibution in changelog file | |
run: | | |
sed -i '0,/restricted/s//stable/' debian/changelog | |
- name: Build Debian package | |
uses: dawidd6/[email protected] | |
with: | |
artifacts_directory: debian/build/release/ | |
- name: Debug | |
run: | | |
ls -la |