Skip to content

Commit

Permalink
test2
Browse files Browse the repository at this point in the history
  • Loading branch information
dssysolyatin committed Jun 28, 2024
1 parent 3a10bc3 commit e425f06
Showing 1 changed file with 59 additions and 56 deletions.
115 changes: 59 additions & 56 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,66 +9,69 @@ permissions:
contents: write

jobs:
# build-and-upload-binary:
# name: Build and upload
# runs-on: ${{ matrix.os }}
#
# strategy:
# matrix:
# include:
# - build: linux
# os: ubuntu-latest
# target: x86_64-unknown-linux-musl
#
# - build: macos
# os: macos-latest
# target: x86_64-apple-darwin
#
# - build: macos
# os: macos-14
# target: aarch64-apple-darwin
#
# steps:
# - name: Checkout
# uses: actions/checkout@v4
#
# - name: Get the release version from the tag
# shell: bash
# run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
#
# - name: Install Rust
# uses: dtolnay/rust-toolchain@stable
# with:
# targets: ${{ matrix.target }}
#
# - name: Build
# uses: actions-rs/cargo@v1
# with:
# use-cross: true
# command: build
# args: --verbose --release --target ${{ matrix.target }}
#
# - name: Build archive
# shell: bash
# run: |
# binary_name="telegram2photoprism"
#
# dirname="$binary_name-${{ env.VERSION }}-${{ matrix.target }}"
# mkdir "$dirname"
#
# mv "target/${{ matrix.target }}/release/$binary_name" "$dirname"
# tar -C "$dirname" -czf "$dirname.tar.gz" .
# echo "ASSET=$dirname.tar.gz" >> $GITHUB_ENV
#
# - name: Release
# uses: softprops/action-gh-release@v1
# with:
# files: |
# ${{ env.ASSET }}
# build-and-upload-binary:
# name: Build and upload
# runs-on: ${{ matrix.os }}
#
# strategy:
# matrix:
# include:
# - build: linux
# os: ubuntu-latest
# target: x86_64-unknown-linux-musl
#
# - build: macos
# os: macos-latest
# target: x86_64-apple-darwin
#
# - build: macos
# os: macos-14
# target: aarch64-apple-darwin
#
# steps:
# - name: Checkout
# uses: actions/checkout@v4
#
# - name: Get the release version from the tag
# shell: bash
# run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
#
# - name: Install Rust
# uses: dtolnay/rust-toolchain@stable
# with:
# targets: ${{ matrix.target }}
#
# - name: Build
# uses: actions-rs/cargo@v1
# with:
# use-cross: true
# command: build
# args: --verbose --release --target ${{ matrix.target }}
#
# - name: Build archive
# shell: bash
# run: |
# binary_name="telegram2photoprism"
#
# dirname="$binary_name-${{ env.VERSION }}-${{ matrix.target }}"
# mkdir "$dirname"
#
# mv "target/${{ matrix.target }}/release/$binary_name" "$dirname"
# tar -C "$dirname" -czf "$dirname.tar.gz" .
# echo "ASSET=$dirname.tar.gz" >> $GITHUB_ENV
#
# - name: Release
# uses: softprops/action-gh-release@v1
# with:
# files: |
# ${{ env.ASSET }}

build-and-upload-docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

Expand Down

0 comments on commit e425f06

Please sign in to comment.