Skip to content

Commit a817a97

Browse files
committed
cleanup gh actions
1 parent 6d30945 commit a817a97

File tree

1 file changed

+0
-55
lines changed

1 file changed

+0
-55
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
name: Publish
22

33
on:
4-
# release:
5-
# workflow_dispatch:
6-
# workflow_call:
74
push:
8-
# branches:
9-
# - main
105
tags:
116
- 'v*'
127

@@ -41,53 +36,3 @@ jobs:
4136
prerelease: true
4237
env:
4338
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44-
# upload-compiled-binary:
45-
# # The type of runner that the job will run on
46-
# runs-on: ubuntu-latest
47-
48-
# # Steps represent a sequence of tasks that will be executed as part of the job
49-
# steps:
50-
# # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
51-
# - uses: actions/checkout@v3
52-
53-
# - name: setup rustup
54-
# run: |
55-
# rustup override set 1.60
56-
# rustup target add x86_64-pc-windows-gnu
57-
58-
# - uses: Swatinem/rust-cache@v1
59-
60-
# - name: install deps
61-
# run: sudo apt install -y mingw-w64
62-
63-
# - name: compile linux
64-
# run: cargo build --release -p xmodits
65-
66-
# - name: compile windows
67-
# run: cargo build --target=x86_64-pc-windows-gnu --release -p xmodits --bin xmodits --bin xmodits-cli
68-
69-
# - name: version
70-
# run: echo "::set-output name=version::$(./target/release/xmodits -v)"
71-
# id: version
72-
73-
# - name: copy_extra_files
74-
# run: |
75-
# cp ./LICENSE ./target/release/
76-
# cp ./README.md ./target/release/
77-
78-
# cp ./LICENSE ./target/x86_64-pc-windows-gnu/release/
79-
# cp ./README.md ./target/x86_64-pc-windows-gnu/release/
80-
81-
82-
# - name: zip up linux
83-
# run: zip -j xmodits-linux ./target/release/{xmodits,LICENSE,README.md}
84-
85-
# - name: zip up windows
86-
# run: zip -j xmodits-windows ./target/x86_64-pc-windows-gnu/release/{xmodits.exe,LICENSE,README.md}
87-
88-
# - uses: ncipollo/release-action@v1
89-
# with:
90-
# allowUpdates: true
91-
# artifacts: "xmodits-linux.zip,xmodits-windows.zip"
92-
# token: ${{ github.token }}
93-
# tag: ${{ steps.version.outputs.version }}

0 commit comments

Comments
 (0)