From 3b34d8bf5bb92b7b13bbd8ad7706654f6fca52d4 Mon Sep 17 00:00:00 2001 From: Mikhail Yakshin Date: Wed, 11 Sep 2024 10:11:32 +0100 Subject: [PATCH] Added publishing .deb package to packages.kaitai.io/unstable repo --- .github/workflows/main.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c3ad9bd9..ab2aabbb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,6 +8,7 @@ on: jobs: ksc: + environment: unstable runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -62,6 +63,17 @@ jobs: # TODO: add compiler/jvm/target/rpm/RPMS/noarch/kaitai-struct-compiler-*.noarch.rpm + - name: publish deb to repo + uses: kaitai-io/repo-apt-handle@v0.1 + with: + az_storage_sas_token: ${{ secrets.AZURE_STORAGE_SAS_TOKEN }} + az_storage_account: packageskaitai + az_storage_container: unstable + packages: compiler/jvm/target/kaitai-struct-compiler_*_all.deb + gpg_priv_key: ${{ secrets.GPG_PRIV_KEY }} + gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }} + if: github.event_name == 'push' && github.ref == 'refs/heads/master' + - name: translator-tests run: | cd tests