Skip to content

Commit

Permalink
Merge pull request #33 from croessner/features
Browse files Browse the repository at this point in the history
Features
  • Loading branch information
croessner authored May 15, 2024
2 parents 06f26bc + cdc4068 commit 1bc28a8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-features.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

- name: Replace values in main.go
run: |
sed -i "s/@@gittag@@-@@gitcommit@@/$(echo ${GITHUB_REF#refs/heads/})-${GITHUB_SHA:0:8}/" server/main.go
sed -i "s|@@gittag@@-@@gitcommit@@|$(echo ${GITHUB_REF#refs/heads/})-${GITHUB_SHA:0:8}|" server/main.go
- name: Build project
run: |
Expand All @@ -37,4 +37,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: nauthilus-${{ matrix.goos }}-${{ matrix.goarch }}-dev-binary
path: server/nauthilus-${{ matrix.goos }}-${{ matrix.goarch }}-dev
path: server/nauthilus-${{ matrix.goos }}-${{ matrix.goarch }}-dev
6 changes: 4 additions & 2 deletions .github/workflows/build-stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

- name: Replace values in main.go
run: |
sed -i "s/@@gittag@@-@@gitcommit@@/$(echo ${GITHUB_REF#refs/heads/})-${GITHUB_SHA:0:8}/" server/main.go
sed -i "s|@@gittag@@-@@gitcommit@@|$(echo ${GITHUB_REF#refs/heads/})-${GITHUB_SHA:0:8}|" server/main.go
- name: Build project
run: |
Expand All @@ -41,5 +41,7 @@ jobs:

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: server/nauthilus-${{ matrix.goos }}-${{ matrix.goarch }}
token: ${{ secrets.NAUTHILUS_RELEASE }}
files: server/nauthilus-${{ matrix.goos }}-${{ matrix.goarch }}

0 comments on commit 1bc28a8

Please sign in to comment.