Upgrade setup-go to v5 & upload-artifact to v4

This commit is contained in:
ayn2op 2024-02-21 15:03:15 +05:30
parent e4a7ec03f6
commit 3486f6ced9

View file

@ -11,14 +11,14 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: stable
- name: Build
run: go build .
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: ${{ github.event_name == 'push' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
with:
name: discordo_${{ runner.os }}_${{ runner.arch }}