Skip to content

Generate localstack profile if IZE_LOCALSTACK is set to true #129

Generate localstack profile if IZE_LOCALSTACK is set to true

Generate localstack profile if IZE_LOCALSTACK is set to true #129

name: "Release dev: Create Release & Publish Artifacts"
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: false
on:
workflow_dispatch:
push:
branches:
- v2.x
jobs:
update_github_dev_release:
name: Update Github dev Release
runs-on: ubuntu-latest
steps:
- name: Check Out Repo
uses: actions/checkout@v2
- name: Delete Release
uses: dev-drprasad/delete-tag-and-release@v0.2.1
with:
delete_release: true # default: false
tag_name: 0.0.0-dev # tag name to delete
repo: hazelops/ize # target repo (optional). defaults to repo running this action
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install gemfury
run: |
sudo apt-get -y install ruby
sudo gem install gemfury
- name: List dev packages # Show list of linux packages in Gemfury
run: |
fury versions deb:ize --api-token=${{ secrets.FURY_ACCESS_TOKEN }}
fury versions rpm:ize --api-token=${{ secrets.FURY_ACCESS_TOKEN }}
continue-on-error: true
- name: Yank old versions of dev # Since we have AMD64 and ARM64 versions of ize - we need to run every remove action twice
run: |
fury yank deb:ize --version=0.0.0~dev --api-token=${{ secrets.FURY_ACCESS_TOKEN }}
fury yank deb:ize --version=0.0.0~dev --api-token=${{ secrets.FURY_ACCESS_TOKEN }}
fury yank rpm:ize --version=0.0.0~dev-1 --api-token=${{ secrets.FURY_ACCESS_TOKEN }}
fury yank rpm:ize --version=0.0.0~dev-1 --api-token=${{ secrets.FURY_ACCESS_TOKEN }}
continue-on-error: true
- name: Create Github Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: 0.0.0-dev
release_name: Dev Release
prerelease: true
body: |
Most recent dev release
- name: Sleep for 7 minutes
uses: whatnick/wait-action@master
with:
time: '7m'