Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabien-Chouteau authored Apr 20, 2022
1 parent 0318a25 commit 883ab25
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,18 @@ jobs:
fail_ci_if_error: false
verbose: true

- name: Make Release
# if: (github.event_name == 'release')
- name: Make Release Manifest
run: |
# Set user GitHub login required for `alr publish`
alr config --set --global user.github_login ${{github.repository_owner}}
# Run Alire publish assistant
alr publish --skip-build ${{github.server_url}}/${{github.repository}} ${{github.sha}} # TODO: remove --skip-build when resources crate is published
- name: Get Name of manifest
# if: (github.event_name == 'release')
- name: Get Release Manifest PATH
run: |
echo MANIFEST_PATHNAME=$(ls alire/*.toml | head -n 1) >> $GITHUB_ENV
export MANIFEST_PATHNAME=$(ls alire/*.toml | head -n 1)
echo MANIFEST_PATHNAME=$MANIFEST_PATHNAME >> $GITHUB_ENV
echo MANIFEST_NAME=$(basename $MANIFEST_PATHNAME) >> $GITHUB_ENV
- name: Upload release manifest
Expand Down

0 comments on commit 883ab25

Please sign in to comment.