Skip to content

Commit

Permalink
fix gha workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
scottmmjackson committed Sep 15, 2023
1 parent 3eb4145 commit 5a436ac
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- uses: actions/cache@v3
with:
path: target/aarch64-apple-darwin
key: build
build-mac-x86:
runs-on: macos-latest
steps:
Expand All @@ -36,6 +37,7 @@ jobs:
- uses: actions/cache@v3
with:
path: target/x86_64-apple-darwin
key: build
build-linux-aarch64:
runs-on: ubuntu-latest
steps:
Expand All @@ -51,7 +53,8 @@ jobs:
args: --release
- uses: actions/cache@v3
with:
path: aarch64-unknown-linux-gnu
path: target/aarch64-unknown-linux-gnu
key: build
build-linux-x86_64:
runs-on: ubuntu-latest
steps:
Expand All @@ -67,7 +70,8 @@ jobs:
args: --release
- uses: actions/cache@v3
with:
path: x86_64-unknown-linux-gnu
path: target/x86_64-unknown-linux-gnu
key: build
build-windows-x86_64:
runs-on: windows-latest
steps:
Expand All @@ -83,7 +87,8 @@ jobs:
args: --release
- uses: actions/cache@v3
with:
path: x86_64-pc-windows-msvc
path: target/x86_64-pc-windows-msvc
key: build
build-windows-aarch64:
runs-on: windows-latest
steps:
Expand All @@ -99,7 +104,8 @@ jobs:
args: --release
- uses: actions/cache@v3
with:
path: aarch64-pc-windows-msvc
path: target/aarch64-pc-windows-msvc
key: build
archive:
runs-on: ubuntu-latest
needs:
Expand All @@ -110,5 +116,10 @@ jobs:
- build-windows-x86_64
- build-windows-aarch64
steps:
- uses: actions/checkout@v2
- uses: actions/cache/restore@v3
with:
key: build
path: target
- uses: extractions/setup-just@v1
- run: just archive-all do-release-package
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "upnotify"
description = "A tool that prints to stdout when the status of a URL changes."
version = "0.1.2"
version = "0.1.3"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down

0 comments on commit 5a436ac

Please sign in to comment.