Skip to content

Commit

Permalink
ci: fix auto release
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonbrad committed Apr 13, 2024
1 parent 91c20b6 commit 1afcbc7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,10 +208,21 @@ jobs:
- name: Creating directory for archive
shell: bash
run: |
mkdir -p "$ARCHIVE"/{complete,doc}
mkdir -p "$ARCHIVE"
cp "$BIN" "$ARCHIVE"/
cp {README.md,LICENSE,demo.gif} "$ARCHIVE"/
cp {CHANGELOG.md} "$ARCHIVE"/doc/
cp {README.md,LICENSE,demo.gif,CHANGELOG.md} "$ARCHIVE"/
- uses: actions/checkout@v4
with:
repository: pythonbrad/afrim-man
depth: 1

- name: Build and Add documentation
shell: bash
run: |
${{ env.CARGO }} install mdbook
mdbook build afrim-man
cp -r afrim-man/book "$ARCHIVE"/
- name: Build archive (Windows)
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion ci/ubuntu-install-packages
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ if ! command -V sudo; then
fi
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
libxtst-dev libevdev-dev libxdo-dev
libxtst-dev libevdev-dev libxdo-dev libx11-dev

0 comments on commit 1afcbc7

Please sign in to comment.