Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
Signed-off-by: Valery Piashchynski <[email protected]>
  • Loading branch information
rustatian committed Jun 21, 2024
1 parent 7529aa6 commit 9532907
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ on:
branches:
- master
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '30 5 * * *'
# * is a special character in YAML so you have to quote this string
- cron: "30 5 * * *"

jobs:
golang:
Expand All @@ -19,8 +19,8 @@ jobs:
strategy:
fail-fast: true
matrix:
go: [ stable ]
os: [ "ubuntu-latest" ]
go: [stable]
os: ["ubuntu-latest"]
steps:
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v5 # action page: <https://github.com/actions/setup-go>
Expand Down Expand Up @@ -50,8 +50,8 @@ jobs:
strategy:
fail-fast: true
matrix:
go: [ stable ]
os: [ "ubuntu-latest" ]
go: [stable]
os: ["ubuntu-latest"]
steps:
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v5 # action page: <https://github.com/actions/setup-go>
Expand Down Expand Up @@ -79,5 +79,5 @@ jobs:
TIME: ${{ secrets.TIME }}
run: |
go install github.com/roadrunner-server/velox/v2024/cmd/vx@latest
vx build -c velox_rr_v2024.toml -o="."
vx build -c velox.toml -o="."
./rr --version
15 changes: 7 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: release

on:
release: # Docs: <https://help.github.com/en/articles/events-that-trigger-workflows#release-event-release>
types: [ published ]
types: [published]

jobs:
build:
Expand All @@ -11,10 +11,10 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ windows, darwin ] # linux, darwin, windows
compiler: [ gcc ] # gcc, musl-gcc
archiver: [ zip ] # tar, zip
arch: [ amd64 ] # amd64, 386
os: [windows, darwin] # linux, darwin, windows
compiler: [gcc] # gcc, musl-gcc
archiver: [zip] # tar, zip
arch: [amd64] # amd64, 386
include:
- os: linux
compiler: gcc
Expand All @@ -28,7 +28,7 @@ jobs:
compiler: gcc
archiver: tar
arch: arm64
- os: ''
- os: ""
compiler: musl-gcc # more info: <https://musl.libc.org/>
archiver: zip
arch: amd64
Expand Down Expand Up @@ -92,7 +92,6 @@ jobs:
- name: Create distributive
run: |
mkdir ${{ steps.dist-dir.outputs.name }}
rm velox.toml && mv velox_rr_v2024.toml velox.toml
mv "./${{ steps.values.outputs.binary-name }}" ./${{ steps.dist-dir.outputs.name }}/
cp ./README.md ./LICENSE ./velox.toml ./${{ steps.dist-dir.outputs.name }}/
Expand Down Expand Up @@ -167,7 +166,7 @@ jobs:
spiralscout/velox:${{ steps.values.outputs.version }}
spiralscout/velox:2024.1
spiralscout/velox:2024
ghcr.io/roadrunner-server/velox:latest
ghcr.io/roadrunner-server/velox:${{ steps.values.outputs.version }}
ghcr.io/roadrunner-server/velox:2024.1
Expand Down

0 comments on commit 9532907

Please sign in to comment.