name: ci on: schedule: - cron: '0 10 * * *' # everyday at 10am push: branches: - 'master' - 'releases/v*' tags: - 'v*' pull_request: paths-ignore: - '.github/upx-releases.json' jobs: ci: runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: os: - ubuntu-latest - windows-latest version: - latest - v3.95 steps: - name: Checkout uses: actions/checkout@v3 - name: Download files shell: bash run: | mkdir ./bin if [ "${{ matrix.os }}" = "windows-latest" ]; then curl -sSLk https://github.com/crazy-max/firefox-history-merger/releases/download/2.4.0/firefox-history-merger-windows-4.0-386.exe -o ./bin/firefox-history-merger-windows-4.0-386.exe curl -sSLk https://github.com/crazy-max/firefox-history-merger/releases/download/2.4.0/firefox-history-merger-windows-4.0-amd64.exe -o ./bin/firefox-history-merger-windows-4.0-amd64.exe else curl -sSLk https://github.com/crazy-max/firefox-history-merger/releases/download/2.4.0/firefox-history-merger-linux-386 -o ./bin/firefox-history-merger-linux-386 curl -sSLk https://github.com/crazy-max/firefox-history-merger/releases/download/2.4.0/firefox-history-merger-linux-amd64 -o ./bin/firefox-history-merger-linux-amd64 fi chmod +x ./bin/firefox-history-merger* - name: UPX uses: ./ with: version: ${{ matrix.version }} files: | ./bin/firefox-history-merger* args: -fq install-only: runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: os: - ubuntu-latest - windows-latest version: - latest - v4.0.2 steps: - name: Checkout uses: actions/checkout@v3 - name: UPX uses: ./ with: version: ${{ matrix.version }} install-only: true - name: verify run: | which upx upx --version