Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
System-Glitch authored Mar 31, 2024
1 parent 2c7d68d commit 6f3c394
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,26 @@ on:
- master
jobs:
build:
runs-on: ubuntu-16.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: 1.16
go-version: "1.22"
- name: Build
run: go build -ldflags="-w -s"
- name: Upload artifact
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: faq-bot
path: faq-bot
deploy:
needs: build
runs-on: ubuntu-16.04
runs-on: ubuntu-latest
steps:
- name: Download artifact
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: faq-bot
- name: Stop service
Expand All @@ -48,7 +48,7 @@ jobs:
overwrite: true
target: "${{ secrets.DEPLOY_TARGET }}"
restart:
runs-on: ubuntu-16.04
runs-on: ubuntu-latest
needs: deploy
steps:
- name: Restart service
Expand Down

0 comments on commit 6f3c394

Please sign in to comment.