mirror of
https://github.com/daylinmorgan/forge.git
synced 2024-12-23 03:20:44 -06:00
Compare commits
3 commits
43f3d67dcb
...
e60415e9b0
Author | SHA1 | Date | |
---|---|---|---|
e60415e9b0 | |||
5e38a8e5dd | |||
5e86c2c771 |
4 changed files with 13 additions and 10 deletions
17
.github/workflows/build.yml
vendored
17
.github/workflows/build.yml
vendored
|
@ -8,26 +8,29 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- uses: jiro4989/setup-nim-action@v1
|
||||
- uses: jiro4989/setup-nim-action@v2
|
||||
with:
|
||||
nim-version: 2.0.0
|
||||
nim-version: 2.0.8
|
||||
|
||||
- uses: goto-bus-stop/setup-zig@v2
|
||||
|
||||
- name: Bootstrap with installed version
|
||||
run: nimble install -Y
|
||||
run: |
|
||||
nimble install -Y
|
||||
|
||||
- name: Generate build artifacts
|
||||
run: nimble release
|
||||
run: |
|
||||
nimble setup -l
|
||||
nim release
|
||||
|
||||
- name: Create artifact bundles
|
||||
run: nimble bundle
|
||||
run: nim bundle
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: artifacts
|
||||
path: |
|
||||
|
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -10,7 +10,7 @@ permissions:
|
|||
|
||||
jobs:
|
||||
build-artifacts:
|
||||
uses: daylinmorgan/actions/.github/workflows/build-nim-forge.yml@main
|
||||
uses: ./.github/workflows/build.yml
|
||||
|
||||
create-release:
|
||||
needs: build-artifacts
|
||||
|
|
|
@ -5,7 +5,7 @@ task build, "build":
|
|||
|
||||
task release, "build release assets":
|
||||
version = (gorgeEx "git describe --tags --always --match 'v*'").output
|
||||
exec fmt"./bin/forge release -v {version} -V"
|
||||
exec fmt"forge release -v {version} -V"
|
||||
|
||||
task bundle, "package build assets":
|
||||
withDir "dist":
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
version = "2023.1002"
|
||||
version = "2024.1003"
|
||||
author = "Daylin Morgan"
|
||||
description = "build nim binaries for all the platforms"
|
||||
license = "MIT"
|
||||
|
|
Loading…
Reference in a new issue