Skip to content

Commit

Permalink
chore(cd): add release github-action
Browse files Browse the repository at this point in the history
  • Loading branch information
bc-m committed Mar 1, 2024
1 parent 24a86b1 commit a8c2fa2
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Release

permissions:
contents: write

on:
push:
tags:
- v[0-9]+.*

jobs:
create-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: taiki-e/create-gh-release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}

upload-assets:
needs: create-release
strategy:
matrix:
include:
- target: aarch64-unknown-linux-gnu
os: ubuntu-latest
- target: aarch64-apple-darwin
os: macos-latest
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
- target: x86_64-apple-darwin
os: macos-latest
- target: universal-apple-darwin
os: macos-latest
- target: x86_64-pc-windows-msvc
os: windows-latest
- target: aarch64-pc-windows-msvc
os: windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: taiki-e/upload-rust-binary-action@v1
with:
bin: "fm-xml-export-exploder"
target: ${{ matrix.target }}
token: ${{ secrets.GITHUB_TOKEN }}
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ the directory structure from FileMaker scripts and layouts.
the [releases page](https://github.com/BC-M/fm-xml-export-exploder/releases/latest).
2. **Run the Tool**: Execute the tool by running `fm-xml-export-exploder [INPUT_DIRECTORY] [OUTPUT_DIRECTORY]`.

__For macOS:__ To allow execution in Terminal, right-click on the executable and choose "Open" to bypass the security
warning. After this, you can run the CLI in Terminal or Bash scripts.

## Usage

1. **Input Directory**: Provide the path to the directory containing the new FileMaker XML report files.
Expand Down

0 comments on commit a8c2fa2

Please sign in to comment.