Skip to content

Commit

Permalink
feat: undo github actions upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
zema1 committed Aug 25, 2024
1 parent 167bfd4 commit 45dcb79
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/actions/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ inputs:
runs:
using: composite
steps:
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v3
with:
name: test-target
path: .
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- 'release**'
- 'main'
- 'feat**'
release:
types: [ published ]

Expand Down Expand Up @@ -46,7 +47,7 @@ jobs:
with:
go-version: '1.20'
- run: go build -trimpath -ldflags "-w -s -extldflags '-static' -X main.Version=${{ github.ref_name }}" -o target/${{ matrix.output }}
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v3
with:
name: target
path: target/*
Expand Down Expand Up @@ -97,7 +98,7 @@ jobs:
ditto -c -k --keepParent ./build/bin/${{matrix.output}}.app ./build/bin/${{matrix.output}}.app.zip
rm -rf ./build/bin/${{ matrix.output }}.app
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v3
with:
name: target
path: gui/build/bin/*
Expand All @@ -110,7 +111,7 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v3
with:
name: target
path: target
Expand All @@ -121,7 +122,7 @@ jobs:
rm -rf suo5.pkg
mv suo5.app.zip suo5-gui-darwin.app.zip
- run: ls -al target && ls -R target/ && file target/
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v3
with:
name: target-release
path: target/*
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
with:
go-version: '1.20'
- run: go build -trimpath -ldflags "-w -s -extldflags '-static'" -o suo5
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v3
with:
name: test-target
path: suo5
Expand Down

0 comments on commit 45dcb79

Please sign in to comment.