Skip to content

Commit

Permalink
update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
hertg committed Jan 26, 2025
1 parent b56fae0 commit 7b29840
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 32 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/aur-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Download binary
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: egpu-switcher-amd64
path: ./download
Expand All @@ -37,13 +37,13 @@ jobs:
run: ./.ci/generate-pkgbuild.sh ${{ inputs.version }} ${{ env.SHA256 }}

- name: Upload egpu-switcher PKGBUILD
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: egpu-switcher-PKGBUILD
path: ./.pkgbuild/egpu-switcher/*

- name: Upload egpu-switcher-bin PKGBUILD
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: egpu-switcher-bin-PKGBUILD
path: ./.pkgbuild/egpu-switcher-bin/*
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/github-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ${{ inputs.binary }}
path: ./download
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/go-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
# without that 'git describe --tags' may result
# in 'fatal: No names found, cannot describe anything.'
# see https://stackoverflow.com/a/71721059/2726733
fetch-depth: 0

- name: Setup go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ inputs.go-version }}
cache: true
Expand All @@ -45,7 +45,7 @@ jobs:
run: sha256sum ./bin/${{ env.BINARY_NAME }} > ./bin/sha256sum.txt || exit $?

- name: Upload binary
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.BINARY_NAME }}
path: ./bin/*
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ inputs.go-version }}
cache: true
Expand All @@ -32,10 +32,10 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ inputs.go-version }}
cache: true
Expand Down
19 changes: 0 additions & 19 deletions .github/workflows/new-issue.yml

This file was deleted.

0 comments on commit 7b29840

Please sign in to comment.