Skip to content

Commit

Permalink
cleanup gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
B0ney committed Feb 11, 2024
1 parent 6d30945 commit a817a97
Showing 1 changed file with 0 additions and 55 deletions.
55 changes: 0 additions & 55 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
name: Publish

on:
# release:
# workflow_dispatch:
# workflow_call:
push:
# branches:
# - main
tags:
- 'v*'

Expand Down Expand Up @@ -41,53 +36,3 @@ jobs:
prerelease: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# upload-compiled-binary:
# # The type of runner that the job will run on
# runs-on: ubuntu-latest

# # Steps represent a sequence of tasks that will be executed as part of the job
# steps:
# # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
# - uses: actions/checkout@v3

# - name: setup rustup
# run: |
# rustup override set 1.60
# rustup target add x86_64-pc-windows-gnu

# - uses: Swatinem/rust-cache@v1

# - name: install deps
# run: sudo apt install -y mingw-w64

# - name: compile linux
# run: cargo build --release -p xmodits

# - name: compile windows
# run: cargo build --target=x86_64-pc-windows-gnu --release -p xmodits --bin xmodits --bin xmodits-cli

# - name: version
# run: echo "::set-output name=version::$(./target/release/xmodits -v)"
# id: version

# - name: copy_extra_files
# run: |
# cp ./LICENSE ./target/release/
# cp ./README.md ./target/release/

# cp ./LICENSE ./target/x86_64-pc-windows-gnu/release/
# cp ./README.md ./target/x86_64-pc-windows-gnu/release/


# - name: zip up linux
# run: zip -j xmodits-linux ./target/release/{xmodits,LICENSE,README.md}

# - name: zip up windows
# run: zip -j xmodits-windows ./target/x86_64-pc-windows-gnu/release/{xmodits.exe,LICENSE,README.md}

# - uses: ncipollo/release-action@v1
# with:
# allowUpdates: true
# artifacts: "xmodits-linux.zip,xmodits-windows.zip"
# token: ${{ github.token }}
# tag: ${{ steps.version.outputs.version }}

0 comments on commit a817a97

Please sign in to comment.