From 06a197b07c384bbcb3e434f052ae6464224ee8ee Mon Sep 17 00:00:00 2001 From: Guillem Borrell Nogueras Date: Mon, 26 Dec 2022 16:11:45 +0100 Subject: [PATCH 1/3] Testing github actions --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 1f9a55b..23bd6b3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "dr" description = "Command-line data file processing in Rust" -version = "0.5.3" +version = "0.5.4" edition = "2021" include = [ "**/*.rs", From 98a2a983a9d1ab37cfb8658ded0ab8b9bde405df Mon Sep 17 00:00:00 2001 From: Guillem Borrell Nogueras Date: Mon, 26 Dec 2022 20:33:50 +0100 Subject: [PATCH 2/3] Build binaries in github.com --- .github/workflows/main.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/main.yaml diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml new file mode 100644 index 0000000..030f3c7 --- /dev/null +++ b/.github/workflows/main.yaml @@ -0,0 +1,28 @@ +on: + push: + tags: + - '*' + +jobs: + release: + name: release ${{ matrix.target }} + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + include: + - target: x86_64-pc-windows-gnu + archive: zip + - target: x86_64-unknown-linux-musl + archive: tar.gz tar.xz tar.zst + - target: x86_64-apple-darwin + archive: zip + steps: + - uses: actions/checkout@master + - name: Compile and release + uses: rust-build/rust-build.action@v1.4.0 + env: + GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }} + with: + RUSTTARGET: ${{ matrix.target }} + ARCHIVE_TYPES: ${{ matrix.archive }} \ No newline at end of file From 4c26c4c344667a99a40592dfa86023122f022402 Mon Sep 17 00:00:00 2001 From: Guillem Borrell Nogueras Date: Mon, 26 Dec 2022 22:45:35 +0100 Subject: [PATCH 3/3] revert 98a2a983a9d1ab37cfb8658ded0ab8b9bde405df revert Build binaries in github.com --- .github/workflows/main.yaml | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 .github/workflows/main.yaml diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml deleted file mode 100644 index 030f3c7..0000000 --- a/.github/workflows/main.yaml +++ /dev/null @@ -1,28 +0,0 @@ -on: - push: - tags: - - '*' - -jobs: - release: - name: release ${{ matrix.target }} - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - include: - - target: x86_64-pc-windows-gnu - archive: zip - - target: x86_64-unknown-linux-musl - archive: tar.gz tar.xz tar.zst - - target: x86_64-apple-darwin - archive: zip - steps: - - uses: actions/checkout@master - - name: Compile and release - uses: rust-build/rust-build.action@v1.4.0 - env: - GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }} - with: - RUSTTARGET: ${{ matrix.target }} - ARCHIVE_TYPES: ${{ matrix.archive }} \ No newline at end of file