ghaction-upx/.github/workflows/ci.yml
dependabot[bot] 07026276a2
Bump actions/checkout from v2.3.0 to v2.3.1 (#117)
Bumps [actions/checkout](https://github.com/actions/checkout) from v2.3.0 to v2.3.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/master/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.0...28c7f3d2b5162b5ddd3dfd9a45aa55eaf396478b)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-22 14:32:21 +00:00

57 lines
1.5 KiB
YAML

name: ci
on:
schedule:
- cron: '0 10 * * *' # everyday at 10am
pull_request:
branches:
- master
- releases/v*
push:
branches:
- master
- releases/v*
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
version:
- latest
- v3.95
include:
- os: ubuntu-latest
file: https://github.com/crazy-max/firefox-history-merger/releases/download/2.4.0/firefox-history-merger-linux-amd64
- os: windows-latest
file: https://github.com/crazy-max/firefox-history-merger/releases/download/2.4.0/firefox-history-merger-windows-4.0-amd64.exe
steps:
-
name: Checkout
uses: actions/checkout@v2.3.1
-
name: Download file
id: download
run: |
mkdir ./bin
if [ "${{ matrix.os }}" == "windows-latest" ]; then
curl -sSLk ${{ matrix.file }} -o ./bin/firefox-history-merger.exe
echo ::set-output name=filename::./bin/firefox-history-merger.exe
else
curl -sSLk ${{ matrix.file }} -o ./bin/firefox-history-merger
chmod +x ./bin/firefox-history-merger
echo ::set-output name=filename::./bin/firefox-history-merger
fi
shell: bash
-
name: UPX
uses: ./
with:
version: ${{ matrix.version }}
file: ${{ steps.download.outputs.filename }}
args: -fq