Skip to content

Version: 5.0.20221224 #26

Version: 5.0.20221224

Version: 5.0.20221224 #26

name: create-cab-files
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Install requirements
run: |
sudo apt-get update
sudo apt-get install -y curl gawk gcab
- name: Run build script
run: bash generate-cab-files.sh
- name : Upload artifacts
uses: actions/upload-artifact@master
with:
name: axolotl-cab-files
path: |
${{ github.workspace }}/output/*.cab
${{ github.workspace }}/output/*.xml
upload:
if: github.ref_type == 'tag'
needs: build
runs-on: ubuntu-latest
steps:
- name: Download all built artifacts
uses: actions/download-artifact@v2
- name: Release to the pushed tag.
uses: softprops/action-gh-release@v1
with:
files: |
${{ github.workspace }}/axolotl-cab-files/*.cab
${{ github.workspace }}/axolotl-cab-files/*.xml
fail_on_unmatched_files: true