Skip to content
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

fix release script to stay in same repo #46

Merged
Merged
Changes from 1 commit
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
13 changes: 5 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ env:

jobs:

tag:
name: Tagging
build:
name: Building
runs-on: ubuntu-22.04
outputs:
githubTag: ${{ steps.TAG_UTIL.outputs.githubTag}}
Expand Down Expand Up @@ -64,6 +64,7 @@ jobs:
echo "Tagging with ${{ steps.TAG_UTIL.outputs.githubTag }}"
git tag ${{ steps.TAG_UTIL.outputs.githubTag }}
git push origin ${{ steps.TAG_UTIL.outputs.githubTag }}

- name: Create Release
id: create_release
uses: ncipollo/release-action@v1
Expand All @@ -75,13 +76,10 @@ jobs:
draft: true
prerelease: false

build:
needs: [tag]
runs-on: ubuntu-latest
steps:
- name: Uninstall existing Podman and dependencies
run: |
sudo apt-get -y -q autoremove --purge podman

- name: Install latest podman
run: |
sudo apt-get update -y -qq
Expand All @@ -95,12 +93,11 @@ jobs:
| sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:unstable.list > /dev/null
sudo apt-get update -qq
sudo apt-get -qq -y install containernetworking-plugins podman

- run: podman system reset --force

- run: podman info

- uses: actions/checkout@v4

- uses: actions/setup-node@v3
with:
node-version: 16
Expand Down