Skip to content

Rework the repo to build edk2 release tags #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/build_tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Create Release
on:
push:
tags:
- "*"

permissions:
contents: write

jobs:
build_tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: cargo run -- --container-cmd=docker --create-release $GITHUB_REF_NAME
env:
GH_TOKEN: ${{ github.token }}
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
on:
push:
branches:
- main
pull_request:

jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- run: cargo check
- run: cargo test
- run: cargo fmt -- --check
- run: cargo clippy -- -D warnings
16 changes: 0 additions & 16 deletions .github/workflows/create_release.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/target
edk2-*-bin*
Loading