github.com/hazelops/ize@v1.1.12-0.20230915191306-97d7c0e48f11/.github/workflows/release-dev.create-release-and-publish.yml (about)

     1  name: "Release dev: Create Release & Publish Artifacts"
     2  concurrency:
     3    group: ${{ github.workflow }}
     4    cancel-in-progress: false
     5  on:
     6    workflow_dispatch:
     7    push:
     8      branches:
     9        - main
    10  jobs:
    11    update_github_dev_release:
    12      name: Update Github dev Release
    13      runs-on: ubuntu-latest
    14      steps:
    15        - name: Check Out Repo
    16          uses: actions/checkout@v2
    17  
    18        - name: Delete Release
    19          uses: dev-drprasad/delete-tag-and-release@v0.2.1
    20          with:
    21            delete_release: true # default: false
    22            tag_name: 0.0.0-dev # tag name to delete
    23            repo: hazelops/ize # target repo (optional). defaults to repo running this action
    24          env:
    25            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    26  
    27        - name: Install gemfury
    28          run: |
    29            sudo apt-get -y install ruby
    30            sudo gem install gemfury
    31  
    32        - name: List dev packages # Show list of linux packages in Gemfury
    33          run: |
    34            fury versions deb:ize  --api-token=${{ secrets.FURY_ACCESS_TOKEN }}
    35            fury versions rpm:ize  --api-token=${{ secrets.FURY_ACCESS_TOKEN }}
    36          continue-on-error: true
    37  
    38        - name: Yank old versions of dev # Since we have AMD64 and ARM64 versions of ize - we need to run every remove action twice
    39          run: |
    40            fury yank deb:ize --version=0.0.0~dev --api-token=${{ secrets.FURY_ACCESS_TOKEN }}
    41            fury yank deb:ize --version=0.0.0~dev --api-token=${{ secrets.FURY_ACCESS_TOKEN }}
    42            fury yank rpm:ize --version=0.0.0~dev-1 --api-token=${{ secrets.FURY_ACCESS_TOKEN }}
    43            fury yank rpm:ize --version=0.0.0~dev-1 --api-token=${{ secrets.FURY_ACCESS_TOKEN }}
    44          continue-on-error: true
    45  
    46        - name: Create Github Release
    47          id: create_release
    48          uses: actions/create-release@v1
    49          env:
    50            GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
    51          with:
    52            tag_name: 0.0.0-dev
    53            release_name: Dev Release
    54            prerelease: true
    55            body: |
    56              Most recent dev release
    57  
    58        - name: Sleep for 7 minutes
    59          uses: whatnick/wait-action@master
    60          with:
    61            time: '7m'