Skip to content

Commit ed9db8d

Browse files
committed
Update to latest Alire
1 parent ffaf2d4 commit ed9db8d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
fail-fast: false # Don't stop all the workflows when one of them fails.
1313

1414
matrix:
15-
os: [ubuntu-latest, windows-latest, macos-latest] # List of GitHub Actions platform to run the workflow on
15+
os: [ubuntu-latest, windows-latest, macos-13] # List of GitHub Actions platform to run the workflow on
1616

1717
runs-on: ${{ matrix.os }} # Run the continuous integration workflow on each OS listed in the matrix.
1818

@@ -21,9 +21,9 @@ jobs:
2121
- uses: actions/checkout@v2
2222

2323
# Install and setup Alire package manager
24-
- uses: alire-project/setup-alire@v1
24+
- uses: alire-project/setup-alire@v4
2525
with:
26-
version: 1.2.2
26+
version: 2.0.2
2727

2828
# Build the project using the validation build profile to enforce static analysis and coding style.
2929
- run: alr build --validation
@@ -53,7 +53,7 @@ jobs:
5353
- name: Configure Github credentials
5454
run: |
5555
# Set user GitHub login required for `alr publish`
56-
alr config --set --global user.github_login ${{github.repository_owner}}
56+
alr settings --set --global user.github_login ${{github.repository_owner}}
5757
5858
# Run Alire publish assistant with the appropriate commit
5959
alr publish ${{github.server_url}}/${{github.repository}} ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}

0 commit comments

Comments
 (0)