Skip to content

Commit

Permalink
github release action
Browse files Browse the repository at this point in the history
  • Loading branch information
wubbl0rz committed Apr 1, 2023
1 parent 3ee9401 commit b595ba5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

permissions:
id-token: write
contents: read
contents: write

jobs:
build:
Expand All @@ -25,12 +25,19 @@ jobs:
docker buildx build --build-arg TARGET_VERSION="$TARGET_VERSION" --cache-to "type=gha,mode=max,scope=build" --cache-from "type=gha,scope=build" . \
--target=output --output type=local,dest=/tmp/out/
cp /tmp/out/VmChamp /tmp/out/VmChamp-linux-${{ github.ref_name }}-amd64
- name: upload_binary
uses: actions/[email protected]
with:
name: "VmChamp-linux-${{ github.ref_name }}-amd64"
path: /tmp/out/VmChamp
retention-days: 1
- name: Release
uses: softprops/action-gh-release@v1
with:
body: |
fixes
files: /tmp/out/VmChamp-linux-${{ github.ref_name }}-amd64
aur:
needs: build
runs-on: ubuntu-22.04
Expand Down

0 comments on commit b595ba5

Please sign in to comment.