more actions fixes
Some checks failed
Build and upload a binary on tag push / test (push) Successful in 1m19s
Build and upload a binary on tag push / release (push) Failing after 3m53s

This commit is contained in:
Techno Duck 2023-09-14 10:07:00 -04:00
parent a52b12a596
commit 9a918ed1fa

View file

@ -15,13 +15,18 @@ jobs:
- name: Setup toolchian - name: Setup toolchian
uses: https://github.com/dtolnay/rust-toolchain@stable uses: https://github.com/dtolnay/rust-toolchain@stable
- name: Build - name: Build
run: cargo build --release --verbose run: |
cargo build --release
cp target/release/iss_locator iss_locator
chmod +x iss_locator
xz --keep -9 iss_locator
shasum -a 256 iss_locator > iss_locator.sha256
shasum -a 256 iss_locator.xz > iss_locator.xz.sha256
- name: Upload release - name: Upload release
uses: actions/forgejo-release@v1 uses: actions/forgejo-release@v1
with: with:
direction: upload direction: upload
url: https://git.technoduck.me url: https://git.technoduck.me
release-dir: release
token: ${{secrets.app_token}} token: ${{secrets.app_token}}
verbose: true verbose: true